periscope-participant-colors
v0.1.0
Published
Simple module to get a periscope participant color
Downloads
12
Maintainers
Readme
periscope-participant-colors
Simple module to get a periscope participant color
Install
npm install periscope-participant-colors --save
Usage
var participantColors = require('periscope-participant-color');
var participantIndex = 20;
var color = participantColors(participantIndex);
/*
{
name: "Teal",
RGB: "rgb(94, 213, 177)",
hex: "#5ed5b1"
}
*/
var orange = participantColors.orange;
/*
{
name: "Orange",
RGB: "rgb(245, 166, 35)",
hex: "#f5a623"
}
*/