![]()
Checks equivalence between two colors' respective values. Accepts +- delta
for each pair of values
|
code » | |||
![]()
Helper function for color conversion functions between two colorspaces.
|
code » | |||
This helper method compares two RGB colors, checking that each color
component is the same.
Arguments:
Returns: boolean
True if the colors are the same, false otherwise.
|
code » | |||
![]()
This method runs unit tests against goog.color.blend(). Test cases include:
blending arbitrary colors with factors of 0 and 1, blending the same colors
using arbitrary factors, blending different colors of varying factors,
and blending colors using factors outside the expected range.
|
code » | |||
![]()
This method runs unit tests against goog.color.darken(). Test cases
include darkening black with arbitrary factors, edge cases (using 0 and 1),
darkening colors using various factors, and darkening colors using factors
outside the expected range.
|
code » | |||
![]()
This method runs unit tests against goog.color.colorDiff_().
|
code » | |||
![]()
This method runs unit tests against goog.color.lighten(). Test cases
include lightening white with arbitrary factors, edge cases (using 0 and 1),
lightening colors using various factors, and lightening colors using factors
outside the expected range.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
This method runs unit tests against goog.color.highContrast().
|
code » | |||
![]()
This method runs unit tests against goog.color.hslDistance().
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
This method runs unit tests against goog.color.yiqBrightness_().
|
code » | |||
![]()
This method runs unit tests against goog.color.yiqBrightnessDiff_().
|
code » |