Quiz Question 1 of 5
Which of the following scenarios best demonstrates a practical use of the lighten()
function in the colors.py
module?
Choose the correct answer below:
-
A
Adjusting the brightness of text on a webpage to ensure accessibility for color-blind users.
-
B
Automatically assigning contrasting colors to different sections of a webpage for better visual hierarchy.
-
C
Creating a gradient effect in a webpage banner that transitions from dark to light shades of a color.
-
D
Converting an RGB value to its hexadecimal equivalent for consistent color use in a CSS file.