Utility class for generating theme specific colors based on a primary color.
Static
Generates a text-specific color based on a primary color and code.
The primary color in hex format (e.g., "#575fcf").
The unique code.
A text-specific color.
Generates a hue value based on a string.
The string to hash.
A hue value between 0 and 360.
Converts a hex color to HSL.
The hex color to convert.
An object containing HSL values (h: 0-360, s: 0-100, l: 0-100).
Converts HSL to a hex color.
The HSL values to convert.
The resulting hex color.
Utility class for generating theme specific colors based on a primary color.