Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Color/isValidColor

Index

Functions

Functions

isValidColor

  • isValidColor(color: string): boolean
  • Checks if the given color is a valid color. Hex, RGB, RGBA or a color string ('red') is valid.

    Parameters

    • color: string

    Returns boolean

Generated using TypeDoc