Utilities for working with Color names from the colors enum.
interface ColorUtils
getHexForColor | function (colorString: Color) => string function (colorString: string) => null | string
|
getRgbForColor |
|
shouldUseLightTextOnColor | function (colorString: string) => boolean Given a Color, returns true or false to indicate whether that color should have light text on top of it when used as a background color.
|