From 6414ce34b37a1db9ab59fd16dc1220cb4a98b2fe Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 29 Apr 2014 21:25:07 -0700 Subject: [PATCH] Update documentation. --- cubehelix/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubehelix/README.md b/cubehelix/README.md index f288ce8..4d0c2a8 100644 --- a/cubehelix/README.md +++ b/cubehelix/README.md @@ -10,7 +10,7 @@ Returns a cubehelix a determines the starting hue angle in degrees, while the hue of color b determines the ending hue angle in degrees; the hue angle is interpolated linearly in-between. Likewise for saturation and lightness, which are specified in percentages. (The [d3.hsl](https://github.com/mbostock/d3/wiki/Colors#d3_hsl) constructor can also be used.) +The hue of color a determines the starting hue angle in degrees, while the hue of color b determines the ending hue angle in degrees; the hue angle is interpolated linearly for intermediate values. Likewise for saturation and lightness, which are specified in percentages. (The [d3.hsl](https://github.com/mbostock/d3/wiki/Colors#d3_hsl) constructor can also be used.) If either color a or b is not an HSL color, the colors are converted to HSL color space first. However, it is recommended that you specify each color’s hue, saturation and lightness explicitly: cubehelix interpolation does not actually use the HSL color space, and thus the terms hue, saturation and lightness here are similar but slightly different to their meaning in HSL color space.