color_util library
Color utility functions
Functions
-
colorLerp(
TrueColor color1, TrueColor color2) → LerpFunction - Returns a function that interpolates between two colors.
-
colorLuminance(
TrueColor color) → double - Function that calculates the TrueColor luminance and returns a value between 0.0 and 1.0. Being 0.0 black and 1.0 white.
-
rgbToHsv(
TrueColor color) → HSV - Convert a TrueColor color to HSV