examples/eris/src/MyUtils.js
/**
     * Convert a hex code into a rgb code
     *
     * @param {Number/String} float -  The base10 number to convert OR the base10 number as a String
     * @returns {String} rgb color code (xxx, xxx, xxx)
     */
Convert a hex code into a rgb code
@param {Number/String} float -  The base10 number to convert OR the base10 number as a String
@returns {String} rgb color code (xxx, xxx, xxx)
Convert a hex code into a rgb code @param { Number / String } float - The base10 number to convert OR the base10 number as a String @returns { String } rgb color code ( xxx xxx xxx )
hexTOrgb(hex) {
        let num = hex.replace('#', '');
        num = parseInt(num, 16);
        return [num >> 16, num >> 8 & 255, num & 255]; 
    }
hexTOrgb ( hex ) { let num = hex . replace ( '#' , '' ) ; num = parseInt ( num , 16 ) ; return [ num >> 16 , num >> 8 & 255 , num & 255 ] ; }
Convert a hex code into a rgb code
 @param {Number/String} float -  The base10 number to convert OR the base10 number as a String
 @returns {String} rgb color code (xxx, xxx, xxx)
Convert a hex code into a rgb code @param { Number / String } float - The base10 number to convert OR the base10 number as a String @returns { String } rgb color code ( xxx xxx xxx )
// eslint-disable-line