# Example 1: Lightening a color
ret_lum("#FF5733", 1.5) # Returns a lighter version of the input color
# Example 2: Darkening a color
ret_lum("#FF5733", 0.7) # Returns a darker version of the input color
Run the code above in your browser using DataLab