| File: |
Colour.class.js |
| Role: |
Class source |
| Content type: |
text/plain |
| Description: |
The complete class |
| Class: |
JavaScript Color Object
Create and manipulate color values |
| Author: |
By Chris Jeffries |
| Last change: |
Added method getRelative([h,s,l]) which returns a colour object with h,s and l values adjusted according to passed parameters. Original object is unchanged. Fixed bug which prevented x = new Colour ([r,g,b], 'rgb') or new Colour([h,s,l]) from working - Colour is consistently spelled 'colour' |
| Date: |
7 years ago |
| Size: |
8,787 bytes |
|
|
|