D3.js | color.opacity
The color.opacity in D3.js is used to fade the color. The opacity value is in the range of [0, 1].
Parameters: This function does not accept any parameters.
Return Value: This function returns the opacity value of the specified color.
Below program illustrate the color.opacity function in D3.js:
1 1 1