Altering the color of an element typically requires adherence to palette harmony. This entails utilizing a color function or procedure to select an appropriate color from the palette and then creating a new color by modifying its RGB or HSL values.
In simple words, a procedure to create shades or tint from a given color. This way users can generate many colors by calling the procedure on a palette color.