Installing @briklab/lib/color
Color is part of @briklab/lib. Follow the lib installation tutorial to get started.
Quick Install
bash
pnpm add @briklab/lib
# or
npm install @briklab/libVerify Installation
ts
import { Color } from "@briklab/lib/color";
const color = new Color({ r: 255, g: 0, b: 0 }, "boundary");
console.log(color.hex()); // "#ff0000"Next Steps
- Getting Started: Learn Color basics
- Advanced Usage: Complex color scenarios