Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/galdor/chroma
Emacs Lisp color manipulation utilities.
https://github.com/galdor/chroma
colors emacs emacs-lisp
Last synced: 2 months ago
JSON representation
Emacs Lisp color manipulation utilities.
- Host: GitHub
- URL: https://github.com/galdor/chroma
- Owner: galdor
- License: isc
- Created: 2023-03-19T17:34:02.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T11:31:57.000Z (7 months ago)
- Last Synced: 2024-07-16T14:17:37.712Z (7 months ago)
- Topics: colors, emacs, emacs-lisp
- Language: Emacs Lisp
- Homepage:
- Size: 23.4 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chroma
[![MELPA Stable](https://stable.melpa.org/packages/chroma-badge.svg)](https://stable.melpa.org/#/chroma)
[![MELPA](https://melpa.org/packages/chroma-badge.svg)](https://melpa.org/#/chroma)## Introduction
This repository contains `chroma`, a small Emacs Lisp package providing
various functions to manipulate colors.While Emacs contains a builtin `color` package, it has several shortcomings:
- Functions are hard to combine because colors are usually returned as lists
but passed as separate arguments.
- The representation of RGB color components as floating point values between
0.0 and 1.0 is unusual and annoying to work with.
- There is no support for HSL color strings.
- Results are not what you would expect. For example converting `#cc241d` to
HSL yields a hue of 0.006666666666666636 (e.g. 0°) instead of 2°.
The `chroma` package aims to be easier to use.## Licensing
The `chroma` package is open source software distributed under the
[ISC](https://opensource.org/licenses/ISC) license.## Contact
If you have an idea or a question, feel free to email me at
.