color
color
Set your app's white hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's black hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's blue hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's yellow hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's green hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's orange hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's red hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's primary hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's accent hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's body hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's border hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's background_1 hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's background_2 hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's background_3 hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's background_4 hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's background_5 hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Set your app's background_6 hex color codes.
Get the most legible version of the color based on either light/dark mode you have set for your app, or if background color is provided the most ligible version of the color on the given background.
Convert RGB (Red, Green, Blue) to HSL (Hue, Saturation, Lightness)
Convert HSL (Hue, Saturation, Lightness) to RGB (Red, Green, Blue).
Convert Hex Color Code to rgb(Red, Green, Blue)
Convert RGB to rgba(Red, Green, Blue, Opacity) HTML/CSS format
Convert Hex Color Code to rgba(Red, Green, Blue, Opacity) HTML/CSS format
Transform RGB to Hex Color code
Adjust the value (brightness of a hex color (Steps should be between -255 and 255. Negative = darker, positive = lighter)
Adjust the hue (0 to 359), saturation (0 to 1), and lightness (0 to 1) of a RGB color (Red, Green, Blue)
color:adjust_rgb_by_percentage
Increase or decrease Hue, Saturation, and Lightness of an rgb color from its current values.
Check if a color is safe on white background
Check if a color is safe on black background
color:is_safe_on_another_color?
Check if a color is legible on another color
color:get_two_colors_absolute_luma_difference
Get the absolute luma difference between two colors
color:get_standardized_hex_color_code
Get a standardized hex color code like #FFFFFF
color:get_variation_legible_on_black
Modify the color if it is not legible on black.
color:get_variation_legible_on_white
Modify the color if it is not legible on white
color:lighten_based_on_luma_difference_between_another_color
Will lighten the color until the minimum desired luma difference is reached between the two colors
color:darken_based_on_luma_difference_between_another_color
Will darken the color until the minimum desired luma difference is reached between the two colors
color:get_variation_legible_on_another_color
Modify the color if it is not legible on another color
color:get_most_legible_overlay_color
Get either white or black (as HEX Color Code) depending on which has the highest contrast on the given color.
Check if given hex color code is closer to #000000 black
Check if given hex color code is closer to #ffffff white
Get the brightness of a color between 0 (darkest) to 255 (brightest)
