1.0.4 • Published 11 months ago

@olton/farbe v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Farbe

Farbe - is a small javascript library for manipulating with a color.

Farbe provides class and routines for operations with color.

Farbe provides simple API that may be used to create colors (HEX, RGB, RGBA, HSV, HSL, HSLA, CMYK), and perform various color related operations (conversions and such) and create any color schemes (complementary, triple, ...)

Install

npm i @olton/farbe

Using

import Farbe from "@olton/farbe"

const color = new Farbe("#fff")

console.log(color.toRGB()); // RGB {r: 255, g: 255, b: 255}
console.log(color.toRGB().toString()); // rgb(255,255,255)

License

This software is free to use under the MIT license. See the LICENSE file for license text and copyright information.

1.0.2

1 year ago

1.0.1

1 year ago

1.0.4

11 months ago

1.0.3

1 year ago

1.0.0

1 year ago