MCPcopy Create free account
hub / github.com/WarFrontIO/client / fromRGBA

Method fromRGBA

src/util/HSLColor.ts:116–118  ·  view source on GitHub ↗

* Create a color from an RGBA value. * @param r The red value. * @param g The green value. * @param b The blue value. * @param a The alpha value.

(r: number, g: number, b: number, a: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

fromRGBMethod · 0.80
withAlphaMethod · 0.45

Tested by

no test coverage detected