commit 133a9b44e31bc5e667edb2ecbd4d00827fc199a2
parent 157405c0ccb37bc0af7de262f511235908d513c4
Author: conao3 <conao3@gmail.com>
Date: Tue, 26 Nov 2019 21:38:01 +0900
remove solarized-color-lightness
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/solarized.el b/solarized.el
@@ -133,10 +133,6 @@ use the latter if you need a 24-bit specification of a color."
(apply 'color-rgb-to-hex `(,@args))
(apply 'color-rgb-to-hex `(,@args ,digits-per-component)))))
-(defun solarized-color-lightness (color)
- "Return the LAB lightness value of a COLOR, the range is from 0-100."
- (car (apply 'color-srgb-to-lab (color-name-to-rgb hexrgb))))
-
(defun solarized-color-clamp-lab (lab)
"Restricts a LAB colorspace color if it is out of bounds."
(list (min (max (nth 0 lab) 0.0) 100.0)