Color manager

Category: JavaScript - Miscellaneous




Color manager class accepts different color formats like:

* Named colors (like green),
* Hex (like #fff or #ffffff or ffffff),
* RGB (like rgb(255,255,255)),
* RGB alpha (like rgba(255,255,255,1)),
* HSL (like hsl(360,100,100)),
* HSL alpha (like hsla(360,100,100,1)).

Thus making it compatible with different browsers.

After creating class instance with specified color format, it is possible to convert specified color to other formats, access each color channel separalty and modify rgb, hsl or alpha values.

Since it is possible to modify color channels and convert color to many formats, it makes possible to modify hsl values of rgb color and represent it in format which browser would understand.
Package contains color_manager.js and color_manager.packed.js (packed javascript), two example files: color_info.html(to see how you cen get color information and convert between formats) and modify_colors.html (to see how for example you can retrieve color in rgb and modify it in hsl and convert back to rgb). Date: 10 August, 2011

Editor Rating: 5 Rating of Color manager

Color - Graphics - Images - Manager - Like - Alpha - Parse - Object Site

Homepage: http://webcodingeasy.com/JS-classes/Cross-format-color-manager

Developer: Arturs Sosins

License: BSD License

Operating System: Not Available

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Barcode designer software is affordable tool which is suitable for all size of organizations and allow printing of multidimensional barcode.

developer Developer: Professional Barcode
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


Graphical 2d tile-based MMORPG with true color and mp3 sound.

developer Developer: daimonin.com
license License: GNU General Public License (GPL)
operating systems Operating System: OS Portable (Source code to work with many OS platforms)


A Java-based Gameboy and Gameboy Color emulator for mobile devices and PCs.

developer Developer: javagb
license License: GNU General Public License (GPL)
operating systems Operating System: OS Independent (Written in an interpreted language)


Water Drop class provides a water drop effect on HTML elements as a standalone package or jquery plugin.

developer Developer: Arturs Sosins
license License: BSD License
operating systems Operating System: Not Available


Floating Email-This-Link is Windows compatible.

developer Developer: http://www.codelifter.co...
license License: Freeware
operating systems Operating System: Windows


Email Address Checker-Validator Script is a multi-platform compatible script that checks for common errors in entering email addresses using powerful expressions.

developer Developer: tachi
license License: Freeware
operating systems Operating System: All


Ask Visitor for Name Script is multi-platform compatible.

developer Developer: http://www.codelifter.co...
license License: Freeware
operating systems Operating System: All


FusionCharts Free is a flash charting component that can be used to render data-driven & animated charts for your web applications and presentations.

developer Developer: InfoSoft Global (P) Ltd.
license License: Freeware
operating systems Operating System: Not Available


Guitar neck class can be used to draw a guitar neck with provided graphic of fret and pressed fret and display provided guitar chords on it.

developer Developer: Arturs Sosins
license License: BSD License
operating systems Operating System: Not Available