CRM_Utils_Color
class CRM_Utils_Color
Static utility functions for working with colors
Methods
static string
getContrast(string $hexcolor)
Determine the appropriate text color for a given background.
Details
at line 47
static string
getContrast(string $hexcolor)
Determine the appropriate text color for a given background.
Based on YIQ value.