Function: color-saturate-name

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

Signature

(color-saturate-name NAME PERCENT)

Documentation

Make a color with a specified NAME more saturated by PERCENT.

See color-saturate-hsl.

Source Code

;; Defined in /usr/src/emacs/lisp/color.el.gz
(defun color-saturate-name (name percent)
  "Make a color with a specified NAME more saturated by PERCENT.
See `color-saturate-hsl'."
  (apply 'color-rgb-to-hex
	 (apply 'color-hsl-to-rgb
		(apply 'color-saturate-hsl
		       (append
			(apply 'color-rgb-to-hsl
			       (color-name-to-rgb name))
			(list percent))))))