multicolorfits.palettes.rotate_colors_from_base#

multicolorfits.palettes.rotate_colors_from_base(base_hex_colors, delta_deg)[source]#

Rotate layer colors around the hue wheel, preserving each color’s L/C and its angular offset from the first layer.

Parameters:
  • base_hex_colors (list of str) – Starting hex colors (one per layer).

  • delta_deg (float) – Rotation to apply in degrees.

Returns:

list of str – Rotated hex colors.