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(INT $red, INT $green, INT $blue, INT $hue=NULL, FLOAT $saturation_percentage=NULL, FLOAT $lightness_percentage=NULL) : ARRAY

color:adjust_rgb(100, 111, 122, 100, 1, 0.5)
#=> [
#=>     "red" => 84.0,
#=>     "green" => 255.0,
#=>     "blue" => 0.0
#=> ]

Copyright ©2013-2022 SunSed®. All rights reserved.