Member Junction
    Preparing search index...

    Variable WHITEBOARD_HEX_COLORConst

    WHITEBOARD_HEX_COLOR: RegExp = ...

    The one color syntax the whiteboard accepts from outside: #rgb or #rrggbb, either case. Shared by the agent tools (Whiteboard_AddText color) and the host's PenPalette so both entry points hold the same line. A color string is painted into style.background on the toolbar swatches and style.color on text items, and Angular does not sanitize style bindings, so a url(...) or image-set(...) that got through would make the browser fetch it. Named colors, rgb() and var() are rejected on purpose: ink items persist the chosen string, and a var() would make a saved board theme-dependent.