Skip to content

modulex/color

 
 

Repository files navigation

color

color parse and format util

color NPM downloads Build Status Coverage Status Dependency Status node version

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

Languages

  • JavaScript 91.1%
  • HTML 8.9%