All Projects → facelessuser → coloraide

facelessuser / coloraide

Licence: MIT license
A library to aid in using colors

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to coloraide

hackerinnen
hackerinnen.space is a project to provide encouragement and enhance visibility in different places
Stars: ✭ 22 (-58.49%)
Mutual labels:  colors
Term-ExtendedColor
Color screen output using extended escape sequences
Stars: ✭ 17 (-67.92%)
Mutual labels:  colors
multi-brand-colors
Multi Brand Colors with support for CSS/CSS-Vars/SCSS/SASS/Stylus/LESS/JSON
Stars: ✭ 26 (-50.94%)
Mutual labels:  colors
conic.css
nice'n simple conic gradients 🎨
Stars: ✭ 195 (+267.92%)
Mutual labels:  colors
colors
🎨 An elegant and minimalistic color palette for UI design.
Stars: ✭ 19 (-64.15%)
Mutual labels:  colors
jsoncolor
Colorized JSON output for Go
Stars: ✭ 27 (-49.06%)
Mutual labels:  colors
HexTags
Customize tags & chat colors!
Stars: ✭ 53 (+0%)
Mutual labels:  colors
clrprint
Print colorful output in the terminal, idle, cmd, and Windows PowerShell using the same functions.
Stars: ✭ 22 (-58.49%)
Mutual labels:  colors
File-LsColor
Colorize input filenames just like ls(1) does
Stars: ✭ 33 (-37.74%)
Mutual labels:  colors
color-system
🎨 Easiest way to get a universal color palette
Stars: ✭ 21 (-60.38%)
Mutual labels:  colors
UIImageColorRatio
A tool to calculate the color ratio of UIImage in iOS.
Stars: ✭ 34 (-35.85%)
Mutual labels:  colors
colorblindcheck
Tools helping to decide if a color palette is colorblind friendly
Stars: ✭ 21 (-60.38%)
Mutual labels:  colors
SwiftColorWheel
Delightful color picker wheel for iOS in Swift.
Stars: ✭ 37 (-30.19%)
Mutual labels:  colors
Colora
Color converter, screen color picker and color palettes for Windows
Stars: ✭ 32 (-39.62%)
Mutual labels:  colors
hsluv-ruby
Ruby implementation of HSLuv (revision 3)
Stars: ✭ 20 (-62.26%)
Mutual labels:  colors
tailwind-css-palette-generator
10-color Palette Generator and API for Tailwind CSS
Stars: ✭ 206 (+288.68%)
Mutual labels:  colors
Giotto
Theme manager for your app: apply styles to anything you want through a plist file
Stars: ✭ 18 (-66.04%)
Mutual labels:  colors
pikko
Color picker for iOS made with ❤️
Stars: ✭ 34 (-35.85%)
Mutual labels:  colors
Motus-Art
Weekly motion art projects created in JavaScript.
Stars: ✭ 129 (+143.4%)
Mutual labels:  colors
system-76-keyboards
Rainbow / CPU monitor for system76 colored keyboards
Stars: ✭ 37 (-30.19%)
Mutual labels:  colors

Donate via PayPal Discord Build Coverage Status PyPI Version PyPI Downloads PyPI - Python Version License

ColorAide

Overview

ColorAide is a pure Python, object oriented approach to colors.

>>> from coloraide import Color
>>> c = Color("red")
>>> c.to_string()
'rgb(255 0 0)'
>>> c.convert('hsl').to_string()
'hsl(0 100% 50%)'
>>> c.set("lch.chroma", 30).to_string()
'rgb(173.81 114.29 97.218)'
>>> Color("blue").mix("yellow", space="lch").to_string()
'rgb(255 65.751 107.47)'

ColorAide particularly has a focus on the following:

  • Accurate colors.

  • Proper round tripping (where reasonable).

  • Be generally easy to pick up for the average user.

  • Support modern CSS color spaces and syntax.

  • Make accessible many new and old non-CSS color spaces.

  • Provide a number of useful utilities such as interpolation, color distancing, blending, gamut mapping, etc.

  • Provide a plugin API to extend supported color spaces and more.

  • Allow users to configure defaults to their liking.

With ColorAide, you can specify a color, convert it to other color spaces, mix it with other colors, output it in different CSS formats, and much more!

Documentation

https://facelessuser.github.io/coloraide

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].