LiteralColour
A parsed hex(…) or rgb(…) colour, which is drawn exactly as written in both themes.
@internote/canvas-sdkOn this page
import { LiteralColour } from '@internote/canvas-sdk';#Fields
cssThe colour as CSS:
hex(0064FA) becomes '#0064fa', rgb(1,2,3) becomes 'rgb(1, 2, 3)'.stringkindAlways
'literal'; tells the three Colour forms apart.'literal'Declared in packages/canvas-sdk/src/paint/colour.ts:377.