-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enh(refactor): simplify and rationalise function names
- Loading branch information
Showing
15 changed files
with
330 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,32 @@ | ||
# color-cam16 | ||
Perceptual Color Space and Language based on the CAM16 Uniform Color Space | ||
|
||
## Color Space Background | ||
## Defining and Manipulating Colors | ||
color-cam16 is a TypeScript library for defining and manipulating colors. Generate color sequences. Define color relationships. Determine color differences. Find analogous and complimentary colors. Ensure color contrast. Match real world colors. | ||
|
||
The library uses a uniform color space based on human perception and human semantics. Colors can be warmer or cooler, lighter or darker, stronger or weaker. You can define a set of colors and their relationships in plain text. The library can parse a color description and calculate the relevant colors of a theme. | ||
The library uses a uniform color space based on human perception and human semantics. You can define a set of colors by their relationships in plain text. Define colors as warmer, cooler, lighter, darker, stronger, weaker, analogous, triadic, or complimentary. Declare how many steps between colors to form color sequences. The library will parse the color description and generate a set of colors for a color theme. | ||
|
||
## Color Space Transforms | ||
- JuMuHu_to_color | ||
- label_to_color | ||
|
||
![](https://readme-swatches.vercel.app/008000) | ||
![](https://readme-swatches.vercel.app/0080FF) | ||
![](https://readme-swatches.vercel.app/A080FF) | ||
|
||
## Color Space Analysis | ||
- delta_e | ||
- find_closest_color | ||
- find_strongest_color | ||
- find_strongest_Mu | ||
- cluster_colors | ||
|
||
## Color Names | ||
|
||
## Color Language | ||
- label_to_name | ||
- name_to_color | ||
- find_closet_names | ||
|
||
## Color Language | ||
- parse_colors | ||
- rainbow_colors | ||
- adjust_color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.