rgb-random-array

get a random RGB color as JS array

Usage no npm install needed!

<script type="module">
  import rgbRandomArray from 'https://cdn.skypack.dev/rgb-random-array';
</script>

README

rgb-random-array

get a random RGB color as JS array

example

var rc = require('rgb-random-array');

rc() // [ 79, 45, 252 ]

About

rbg-random-array uses randomcolor for attractive colors. Works well with node-opencv.