(new) Additions & improvements to color functions.

- Added spin() to change hue.
- Fixed darken/lighten to be additive.
- Added color extraction functions.
This commit is contained in:
cloudhead
2010-06-15 20:13:19 -04:00
parent fba998f5ed
commit 345b8716d8
3 changed files with 39 additions and 10 deletions

View File

@@ -7,12 +7,17 @@
}
#built-in {
escaped: -Some::weird(#thing, y);
lighten: #ff8080;
darken: #800000;
lighten: #ffcccc;
darken: #330000;
saturate: #203c31;
desaturate: #29332f;
greyscale: #2e2e2e;
spin-p: #bf6a40;
spin-n: #bf4055;
format: "rgb(32, 128, 64)";
format-string: "hello world";
eformat: rgb(32, 128, 64);
hue: 98;
saturation: 12%;
lightness: 95%;
}