g3-toolkit API Reference
    Preparing search index...

    Function glyphStrokeFor

    • Relative luminance of a #rrggbb color (WCAG formula, linearized). Used to pick a glyph color that survives its node fill: white vanished on the light half of okabe-ito (round-19 finding).

      Parameters

      • fill: string | undefined

      Returns string