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

Method fromRGB

src/util/HSLColor.ts:72–96  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

startGameFunction · 0.80
constructorMethod · 0.80
fromRGBAMethod · 0.80
fromRGBColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected