MCPcopy Create free account
hub / github.com/breck7/scroll / rgba

Function rgba

external/.d3.js:3124–3127  ·  view source on GitHub ↗
(r, g, b, a)

Source from the content-addressed store, hash-verified

3122}
3123
3124function rgba(r, g, b, a) {
3125 if (a <= 0) r = g = b = NaN;
3126 return new Rgb(r, g, b, a);
3127}
3128
3129function rgbConvert(o) {
3130 if (!(o instanceof Color)) o = color(o);

Callers 1

colorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected