Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Color/hexColorBrightness

Index

Functions

Functions

hexColorBrightness

  • hexColorBrightness(hexRaw: string): number
  • Returns a value from (dark) 0 - 255 (bright) representing the given color's brightness on the screen.

    Parameters

    • hexRaw: string

    Returns number

Generated using TypeDoc