Adjust the value (brightness of a hex color (Steps should be between -255 and 255. Negative = darker, positive = lighter)

color:adjust_hex_value(STRING $hex_color_code, STRING $steps) : STRING

color:adjust_hex_value('1F9AFF', "-100")
#=> "#00369b"

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