Skip to content

Commit

Permalink
d3-color 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Mar 28, 2022
1 parent 6a07d8f commit e06620a
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 161 deletions.
41 changes: 22 additions & 19 deletions API.md
Expand Up @@ -211,28 +211,31 @@ Select a one- or two-dimensional region using the mouse or touch.
* [d3.ribbonArrow](https://github.com/d3/d3-chord/blob/v3.0.1/README.md#ribbonArrow) - create an arrow ribbon generator.
* [*ribbonArrow*.headRadius](https://github.com/d3/d3-chord/blob/v3.0.1/README.md#ribbonArrow_headRadius) - set the arrowhead radius accessor.

## [Colors (d3-color)](https://github.com/d3/d3-color/tree/v3.0.1)
## [Colors (d3-color)](https://github.com/d3/d3-color/tree/v3.1.0)

Color manipulation and color space conversion.

* [d3.color](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color) - parse the given CSS color specifier.
* [*color*.opacity](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_opacity) - the color’s opacity.
* [*color*.rgb](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_rgb) - compute the RGB equivalent of this color.
* [*color*.copy](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_copy) - return a copy of this color.
* [*color*.brighter](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_brighter) - create a brighter copy of this color.
* [*color*.darker](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_darker) - create a darker copy of this color.
* [*color*.displayable](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_displayable) - returns true if the color is displayable on standard hardware.
* [*color*.formatHex](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_formatHex) - returns the hexadecimal RGB string representation of this color.
* [*color*.formatHsl](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_formatHsl) - returns the RGB string representation of this color.
* [*color*.formatRgb](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_formatRgb) - returns the HSL string representation of this color.
* [*color*.toString](https://github.com/d3/d3-color/blob/v3.0.1/README.md#color_toString) - returns the RGB string representation of this color.
* [d3.rgb](https://github.com/d3/d3-color/blob/v3.0.1/README.md#rgb) - create a new RGB color.
* [d3.hsl](https://github.com/d3/d3-color/blob/v3.0.1/README.md#hsl) - create a new HSL color.
* [d3.lab](https://github.com/d3/d3-color/blob/v3.0.1/README.md#lab) - create a new Lab color.
* [d3.gray](https://github.com/d3/d3-color/blob/v3.0.1/README.md#gray) - create a new Lab gray.
* [d3.hcl](https://github.com/d3/d3-color/blob/v3.0.1/README.md#hcl) - create a new HCL color.
* [d3.lch](https://github.com/d3/d3-color/blob/v3.0.1/README.md#lch) - create a new HCL color.
* [d3.cubehelix](https://github.com/d3/d3-color/blob/v3.0.1/README.md#cubehelix) - create a new Cubehelix color.
* [d3.color](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color) - parse the given CSS color specifier.
* [*color*.opacity](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_opacity) - the color’s opacity.
* [*color*.rgb](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_rgb) - compute the RGB equivalent of this color.
* [*color*.copy](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_copy) - return a copy of this color.
* [*color*.brighter](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_brighter) - create a brighter copy of this color.
* [*color*.darker](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_darker) - create a darker copy of this color.
* [*color*.displayable](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_displayable) - returns true if the color is displayable on standard hardware.
* [*color*.formatHex](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_formatHex) - returns the hexadecimal RRGGBB string representation of this color.
* [*color*.formatHex8](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_formatHex8) - returns the hexadecimal RRGGBBAA string representation of this color.
* [*color*.formatHsl](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_formatHsl) - returns the RGB string representation of this color.
* [*color*.formatRgb](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_formatRgb) - returns the HSL string representation of this color.
* [*color*.toString](https://github.com/d3/d3-color/blob/v3.1.0/README.md#color_toString) - returns the RGB string representation of this color.
* [d3.rgb](https://github.com/d3/d3-color/blob/v3.1.0/README.md#rgb) - create a new RGB color.
* [*rgb*.clamp](https://github.com/d3/d3-color/blob/v3.1.0/README.md#rgb_clamp) - returns copy of this color clamped to the RGB color space.
* [d3.hsl](https://github.com/d3/d3-color/blob/v3.1.0/README.md#hsl) - create a new HSL color.
* [*hsl*.clamp](https://github.com/d3/d3-color/blob/v3.1.0/README.md#hsl_clamp) - returns copy of this color clamped to the HSL color space.
* [d3.lab](https://github.com/d3/d3-color/blob/v3.1.0/README.md#lab) - create a new Lab color.
* [d3.gray](https://github.com/d3/d3-color/blob/v3.1.0/README.md#gray) - create a new Lab gray.
* [d3.hcl](https://github.com/d3/d3-color/blob/v3.1.0/README.md#hcl) - create a new HCL color.
* [d3.lch](https://github.com/d3/d3-color/blob/v3.1.0/README.md#lch) - create a new HCL color.
* [d3.cubehelix](https://github.com/d3/d3-color/blob/v3.1.0/README.md#cubehelix) - create a new Cubehelix color.

## [Color Schemes (d3-scale-chromatic)](https://github.com/d3/d3-scale-chromatic/tree/v3.0.0)

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright 2010-2021 Mike Bostock
Copyright 2010-2022 Mike Bostock

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
Expand Down

0 comments on commit e06620a

Please sign in to comment.