KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#claude-code
#codex
#cli
#developer-tools
#react
#windows
color-utils
★ 20
Open GitHub ↗
A color transform utils collection.
Download README (.md)
Explore Similar Repositories
math
:
Small C++17 library for vector and matrix computations
hslayers-ng
:
User interface and map building extensions for OpenLayers
react-gcolor-picker
:
Simple color(hex, rgb/a and hsla) and gradient(linear and radial) picker for react apps
xncolorpicker
:
漂亮的颜色选择器,支持渐变色模式,rgba hex hsla 三种色彩格式,支持历史颜色,预制颜色,支持自定义输入,colorPicker
colorjs
:
Color lib for JS (supports rgba, hsva, hsla via a simple API) (MIT)
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
color-utils
?
Download (.md)
# color-utils     [](https://codecov.io/gh/nmsn/color-utils)  English | [简体中文](./README.zh-CN.md) Color conversion tool library. ## Features - `RGB`/`RGBA`/`HEX`/`HSL`/`HSLA`/`color-name` color interconversion. ([color-name] - Validators for the above types of colors. - Provide computational multi-color fusion function. - Provides the function of calculating the complementary color. - Provide the function of judging the color light and dark (mostly used to deal with the relationship between the background color and the displayed text). ## Install ``` npm install @nmsn/color-utils ``` ## Usage ```js import { isLight } from '@nmsn/color-utils'; const isLightColor = isLight('#999'); // true ``` Online Address: [https://color-utils-site.vercel.app/](https://color-utils-site.vercel.app/) Project Address: [https://github.com/nmsn/color-utils-site](https://github.com/nmsn/color-utils-site) ## Finished - [x] `RGB`/`RGBA`/`HEX`/`HSL`/`HSLA`/`color-name` interconversion. - [x] Checksum functions for each color format. - [x] Unit testing of existing features. - [x] Color fusion calculations. - [x] Complementary color calculation. - [x] Color brightness judgment. - [x] `Rollup` Basic Function Package. ## Todo - [ ] `Rollup` packed volume optimization. - [ ] Code optimization. ## Contributing - [nmsn](https://github.com/nmsn) ## License [MIT License](https://github.com/nmsn/color-utils/blob/main/LICENSE)