Function: color-saturate-hsl

color-saturate-hsl is a byte-compiled function defined in color.el.gz.

Signature

(color-saturate-hsl H S L PERCENT)

Documentation

Make a color more saturated by a specified amount.

Given a color defined in terms of hue, saturation, and luminance
(arguments H, S, and L), return a color that is PERCENT more
saturated. Returns a list (HUE SATURATION LUMINANCE).

Source Code

;; Defined in /usr/src/emacs/lisp/color.el.gz
(defun color-saturate-hsl (H S L percent)
  "Make a color more saturated by a specified amount.
Given a color defined in terms of hue, saturation, and luminance
\(arguments H, S, and L), return a color that is PERCENT more
saturated.  Returns a list (HUE SATURATION LUMINANCE)."
  (list H (color-clamp (+ S (/ percent 100.0))) L))