Function: erc-nicks-add-contrast

erc-nicks-add-contrast is a byte-compiled function defined in erc-nicks.el.gz.

Signature

(erc-nicks-add-contrast COLOR)

Documentation

Increase COLOR's contrast by blending it with the foreground.

Unless sufficient contrast exists between COLOR and the background, raise it to meet the lower bound of erc-nicks-contrast-range.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-nicks.el.gz
(defun erc-nicks-add-contrast (color)
  "Increase COLOR's contrast by blending it with the foreground.
Unless sufficient contrast exists between COLOR and the
background, raise it to meet the lower bound of
`erc-nicks-contrast-range'."
  (erc-nicks--adjust-contrast color (car erc-nicks-contrast-range)))