Recall & Review
beginner
What does the
adjust-hue function do in Sass?It changes the hue of a color by rotating it around the color wheel by a specified number of degrees.
Click to reveal answer
beginner
How do you use
adjust-hue to make a color 90 degrees more blue?Use
adjust-hue($color, 90deg) to rotate the hue 90 degrees on the color wheel, shifting the color towards blue.Click to reveal answer
intermediate
What happens if you pass a negative value to
adjust-hue?The hue rotates backward on the color wheel by that many degrees, shifting the color in the opposite direction.
Click to reveal answer
intermediate
Example:
adjust-hue(#ff0000, 120deg) results in which color?It results in a green color because red rotated 120 degrees on the hue wheel moves to green.
Click to reveal answer
beginner
Why is
adjust-hue useful in web design?It helps create color variations easily by shifting hues without manually picking new colors, keeping harmony in design.
Click to reveal answer
What unit should you use with the
adjust-hue function in Sass?✗ Incorrect
The adjust-hue function rotates the hue by degrees on the color wheel, so degrees (deg) is the correct unit.
If you want to make a color more yellow by rotating its hue, which value might you use?
✗ Incorrect
Yellow is about 60 degrees from red on the hue wheel, so adding +60deg shifts the color towards yellow.
What color do you get if you adjust the hue of pure blue (#0000ff) by 180 degrees?
✗ Incorrect
Rotating blue by 180 degrees on the hue wheel lands on yellow.
Which Sass function would you use to rotate a color's hue?
✗ Incorrect
adjust-hue() is the function designed to rotate the hue of a color.
What happens if you use
adjust-hue($color, 360deg)?✗ Incorrect
Rotating hue by 360 degrees brings the color back to its original hue.
Explain how the
adjust-hue function works and give an example of when you might use it.Think about how colors change when you move around the color wheel.
You got /5 concepts.
Describe the difference between using a positive and a negative value in
adjust-hue.Consider the direction you turn a wheel clockwise or counterclockwise.
You got /4 concepts.