MCPcopy
hub / github.com/brianchirls/Seriously.js / rgb2hex

Function rgb2hex

lib/three.js:11493–11497  ·  view source on GitHub ↗
( rgb )

Source from the content-addressed store, hash-verified

11491 }
11492
11493 function rgb2hex( rgb ) {
11494
11495 return ( rgb[ 0 ] * 255 << 16 ) + ( rgb[ 1 ] * 255 << 8 ) + rgb[ 2 ] * 255;
11496
11497 }
11498
11499 // defaults
11500

Callers 1

three.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected