Function: color-lighten-hsl

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

Signature

(color-lighten-hsl H S L PERCENT)

Documentation

Make a color lighter 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 lighter.
Returns a list (HUE SATURATION LUMINANCE).

Source Code

;; Defined in /usr/src/emacs/lisp/color.el.gz
(defun color-lighten-hsl (H S L percent)
  "Make a color lighter 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 lighter.
Returns a list (HUE SATURATION LUMINANCE)."
  (list H S (color-clamp (+ L (/ percent 100.0)))))