About: Color Library   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Notice: the code presented here is a bit outdated. This library was absorbed into the Javable Widget Project and the latest sources can be found there, released under the project license. This is a Color library I whipped up for a project where it would be overkill. I got carried away. The base conversion functions are the standard equations to convert between color-spaces. However, credit goes to Harry (g6auc) for actually putting them into readable/understandable JavaScript. :) I just formatted them as objects with tons of really neat and cool properties. Whats in here:

AttributesValues
rdfs:label
  • Color Library
rdfs:comment
  • Notice: the code presented here is a bit outdated. This library was absorbed into the Javable Widget Project and the latest sources can be found there, released under the project license. This is a Color library I whipped up for a project where it would be overkill. I got carried away. The base conversion functions are the standard equations to convert between color-spaces. However, credit goes to Harry (g6auc) for actually putting them into readable/understandable JavaScript. :) I just formatted them as objects with tons of really neat and cool properties. Whats in here:
dcterms:subject
abstract
  • Notice: the code presented here is a bit outdated. This library was absorbed into the Javable Widget Project and the latest sources can be found there, released under the project license. This is a Color library I whipped up for a project where it would be overkill. I got carried away. The base conversion functions are the standard equations to convert between color-spaces. However, credit goes to Harry (g6auc) for actually putting them into readable/understandable JavaScript. :) I just formatted them as objects with tons of really neat and cool properties. Whats in here: * Color (RGB) * CMYK * HSV Each Color-space object has the following: * Ability to convert to the other color-spaces. * Get a String formatted for canvas, ex: "rgba(244, 238, 224, 1)" * Getting its complementary color. * Adding and subtracting colors. * JSDoc formatting (mostly perfect? I may have forgotten a few here obscure things...) It is worth mentioning Color (RGB)'s extra properties/abilities... * Support for alpha/transparency. (This info is lost when converted to another color-space.) * Ability to convert Hexadecimal colors to RGB. (Send in one String with a "#" in it, instead of 3 integers.) To create an object, just instantiate it: var red = new Color(255, 0, 0);
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software