adaptive-color
v1.2.2
Published
Adaptive color automatically with Naural Network
Maintainers
Readme
Welcome to Adaptive Color for UI 👋
Adaptive Color is an library where you can get color automatically from another color. For example: you give a background color and you get color text.
How Install
npm i adaptive-colorFunctions
getNameColorARGB
getNameColorARGB convert any color on RGB Color for CSS. Only you need add on the parameter the color to be converted.
Example
import { getNameColorARGB } from "adaptive-color";
let myColor = getNameColorARGB("red");
console.log(myColor);
// output: rgb(255,0,0)getColorRGB
getColorRGB get any color and return a constrasted RGB color.
Example
import { getColorRGB } from "adaptive-color";
let myFontText = getColorRGB("red");
console.log(myFontText);
// output: RGB generated from Neural NetworkgetMonoColor
getMonoColor get any color and return a constrasted monochromatic color.
Example
import { getMonoColor } from "adaptive-color";
let myFontText = getMonoColor("red");
console.log(myFontText);
// output: Color monochromatic generated from Neural NetworkVersion History
Version 1.2.1
Improve about select to color when you add this one
Version 1.1.1
Update README and add reference of code.
Version 1.0.0
Init the version of adaptive color
