• Abdó Roig-Maranges's avatar
    Added option to recolor keeping hues of original color. · c57463a0
    Abdó Roig-Maranges authored
    If option recolor-keephue is true, the recoloring algorithm
    only adjusts the lightness of the original color, keeping the
    rest of the properties close to the original.
    When recolor-keephue is set to false, the recoloring is performed
    as it was before, interpolating linearly between recolor-lightcolor
    and recolor-darkcolor except for a different weighting for the
    lightness which is closer to perception.
    Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
callbacks.h 4.25 KB