Skip to content

kissyteam/color

Repository files navigation

color

color parse and format util

color NPM downloads Build Status Coverage Status Dependency Status Bower version node version

browser support

example

var Color = require('modulex-color');
describe('color', function () {
    it('parse rgba right', function () {
        var rgba = Color.parse('rgba(1,2,3,0.4)');
        rgba.getR()//1
        rgba.getG()//2
        rgba.getB()//3
        rgba.getA()//4
    });
});

About

color parse and format util

Resources

Stars

Watchers

Forks

Packages

No packages published