chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New egg: web-colors


From: John Croisant
Subject: New egg: web-colors
Date: Tue, 31 Dec 2019 18:10:32 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

I have published a new egg, web-colors. It provides procedures to parse
and write colors in a variety of formats used in HTML/CSS:

- Hex colors in #RGB, #RGBA, #RRGGBB, and #RRGGBBAA formats
- rgb() and rgba() colors
- hsl() and hsla() colors
- Named colors, a.k.a. color keywords

The egg is mainly targeted at CHICKEN 5, but also works with CHICKEN 4.
There can sometimes be differences in the exactness of numbers due to
CHICKEN 4 not having a built-in ratio type.

Docs: https://wiki.call-cc.org/eggref/5/web-colors

Release info for CHICKEN 4 and 5:
https://gitlab.com/jcroisant/chicken-web-colors/raw/master/web-colors.release-info

Happy new year!

- John Croisant



reply via email to

[Prev in Thread] Current Thread [Next in Thread]