printCssColor
printCssColor(
color,options?):string
Defined in: packages/format-css-color/src/print-css-color.ts:23
Serialises a colour back to CSS.
Round-trips what was parsed rather than normalising: a printer that rewrote
#fff as rgb(255 255 255) would be a formatter, and a formatter that
cannot be turned off is unusable in a linter.
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”string