Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Color/hexContrastColor

Index

Functions

Functions

hexContrastColor

  • hexContrastColor(hexRaw: string): string
  • Receives a color and calculates another color which is either lighter or darker as the given color and should be readable when used as text color in front of the given color.

    Parameters

    • hexRaw: string

    Returns string

Generated using TypeDoc