culori
values.js
culori | values.js | |
---|---|---|
1 | 2 | |
796 | 267 | |
0.9% | - | |
7.8 | 0.0 | |
12 days ago | 3 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
culori
-
Color.js Released
This looks fantastic for working with colors, and from a great developer too. A very very similar js library is Culori [0, 1], which I discovered on the original Oklab introduction post [2].
If you're doing generative artwork or any procedural work with a non-fixed palette, a good color library and working in linear or Oklab based colorspace is a must. Using sRGB or HSV/B when interpolating for gradients or generating palettes or complementary colors is extremely painful; a 50% brightness (HSV) yellow is visually much brighter than a 50% brightness purple, with similar issues cropping up for saturation. Balancing the lighting and contrast of programmatically generated colors is so much simpler when you have a perceptually uniform colorspace like OkLCh, or linear RGB if you're working with predefined hex values.
[0]: https://culorijs.org/
[1]: https://github.com/Evercoder/culori
[2]: https://bottosson.github.io/posts/oklab/
values.js
-
Building a tints and shades colour generator with React and Values.js
Values.js is an open-source package that enables us to generate the tints and shades of any colour.
-
Create a color generator React App with Clipboard-Copy function function.
You can check out the whole API introduction on https://github.com/noeldelgado/values.js
What are some alternatives?
ABANICCO
temp-color - Convert temperature (°C | °F) to RGB
sorted-colors - A tool to sort the named CSS colors in a way that it shows related colors together
color-tools - Useful color tools for your next JavaScript project.
unhex - A NodeJS package to convert any RGB color to HEX color or viceversa. Also supports HSL conversion.
tints-shade-generator - An web application that generates tints and shades of various colours based on the user's input.
Color - Extensive collection of color spaces and color models
color-generator
HSL_Colorpicker - 基于Javascript的HSL拾色器,做游戏的时候需要一个HSL拾色器,找了一圈没有找到合适的,所以手写一个
react-copy-to-clipboard - Copy-to-clipboard React component