Convert a Scratch CSB colour to HEX.
npm install csb-hex
const csbHex = require("csb-hex");
csbHex([0, 0, 100]);
//=> "FFFFFF"
csbHex([0, 0, 0]);
//=> "000000"
csbHex([14, 100, 100]);
//=> "FFD500"
Type: array of 3 numbers
The CSB to convert.
- hex-csb - Convert a HEX colour to Scratch CSB