UNPKG

@swatch/silver

Version:
50 lines (35 loc) 742 B
## Various exports of the silver color This package contains already statically computed variants of the silver color. Usage: ```js const {rgb, hex} = require('@swatches/silver'); // Use `rgb`, `hex` to show silver in your application. ``` In the browser: ```js const {hex} = require('@swatch/silver/string'); document.body.style.backgroundColor = hex; ``` ## Supported formats List of all supported color formats. ### As raw values Exported as properties when importing `@swatches/silver`. - `hsl` - `hsv` - `hwb` - `cmyk` - `xyz` - `lab` - `lch` - `hex` - `keyword` - `ansi16` - `ansi256` - `hcg` - `apple` - `gray` ### As string values Exported as properties when importing `@swatches/silver/string`. - `rgb` - `hsl` - `hex`