Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elm/color
Standard representation of colors, encouraging sharing between packages.
https://github.com/elm/color
color elm hsl rgb
Last synced: 3 months ago
JSON representation
Standard representation of colors, encouraging sharing between packages.
- Host: GitHub
- URL: https://github.com/elm/color
- Owner: elm
- License: bsd-3-clause
- Created: 2017-08-28T21:47:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T03:03:27.000Z (about 6 years ago)
- Last Synced: 2024-09-30T05:06:33.564Z (3 months ago)
- Topics: color, elm, hsl, rgb
- Language: Elm
- Homepage:
- Size: 9.77 KB
- Stars: 24
- Watchers: 7
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Colors
Convert between different color spaces.
## Accessiblity
It is important that your colors look good for everyone! Here are some things to think about:
- **Color Blindness** is when someone cannot distinguish certain colors easily. There are [so many different types of color blindness](http://www.alanzucconi.com/2015/12/16/color-blindness/) that a good option is to offer a couple alternate color schemes and let folks choose what works for them.
- **Bad Contrast** is when you have two different colors, but their percieved *brightness* is similar. This can make text really hard to read for some folks.
In both cases, the solution will be specific to your color scheme and the particulars of your design. For example, say your color scheme has two colors with bad contrast. If those colors are never used near each other, that is fine! But if one is text and the other is the background, that is a problem!