0
0
SASSmarkup~5 mins

Adjust-hue for color rotation in SASS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
ADegrees (deg)
BPixels (px)
CPercent (%)
DEm (em)
If you want to make a color more yellow by rotating its hue, which value might you use?
AAdjust hue by +60deg
BAdjust hue by -60deg
CAdjust hue by +180deg
DAdjust hue by 0deg
What color do you get if you adjust the hue of pure blue (#0000ff) by 180 degrees?
ARed
BYellow
CGreen
DCyan
Which Sass function would you use to rotate a color's hue?
Alighten()
Bdarken()
Cadjust-hue()
Dsaturate()
What happens if you use adjust-hue($color, 360deg)?
AColor becomes white
BColor becomes black
CColor becomes transparent
DColor stays the same
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.