mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-23 11:50:15 +08:00
8b5f59b2f636078eebb3919930b82d8a7360e587
red, green, blue, alpha, hue, saturation, lightness all accept a string parameter in the format of "+=100" or "-=100" as per https://github.com/jquery/jquery-color/ red() // returns the "red" component of the color ( Integer from 0 - 255 ) red( val ) // returns a copy of the color object with the red set to val green() // returns the "green" component of the color from ( Integer from 0 - 255 ) green( val ) // returns a copy of the color object with the green set to val blue() // returns the "blue" component of the color from ( Integer from 0 - 255 ) blue( val ) // returns a copy of the color object with the blue set to val alpha() // returns the "alpha" component of the color from ( Float from 0.0 - 1.0 ) alpha( val ) // returns a copy of the color object with the alpha set to val hue() // returns the "hue" component of the color ( Integer from 0 - 359 ) hue( val ) // returns a copy of the color object with the hue set to val saturation() // returns the "saturation" component of the color ( Float from 0.0 - 1.0 ) saturation( val ) // returns a copy of the color object with the saturation set to val lightness() // returns the "lightness" component of the color ( Float from 0.0 - 1.0 ) lightness( val ) // returns a copy of the color object with the lightness set to val // all of the above values can also take strings in the format of "+=100" or "-=100"
winjs - winrt updates Merge branch 'master' of https://github.com/craigktreasure/DefinitelyTyped into winjs-updates
DefinitelyTyped 
The repository for high quality TypeScript type definitions.
For more information see the definitelytyped.org website.
Usage
Include a line like this:
/// <reference path="jquery.d.ts" />
Contributions
DefinitelyTyped only works because of contributions by users like you!
Please see the contribution guide on how to contribute to DefinitelyTyped.
How to get the definitions
- Directly from the Github repos
- NuGet packages
- TypeScript Definition manager
List of definitions
- See CONTRIBUTORS.md
Requested definitions
Here is an updated list of definitions people have requested.
Licence
This project is licensed under the MIT license.
Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file.
Languages
TypeScript
100%