function resolveColor(color) {
    if(!color) return 0;
    if(color === "RANDOM") return Math.floor(Math.random() * (0xffffff + 1));
    else if(color === "DEFAULT") return 0;
    else if(Colors[color]) return Colors[color];
    else return parseInt(color.replace("#", ""), 16) || 0;
}
/**
 * Resolves a Color string into a number
 * @arg {string} color Color to resolve
 * @returns {number} a color
 */
Resolves a Color string into a number
@arg {string} color Color to resolve
@returns {number} a color
Resolves a Color string into a number @arg { string } color Color to resolve @returns { number } a color
function resolveColor(color) {
    if(!color) return 0;
    if(color === "RANDOM") return Math.floor(Math.random() * (0xffffff + 1));
    else if(color === "DEFAULT") return 0;
    else if(Colors[color]) return Colors[color];
    else return parseInt(color.replace("#", ""), 16) || 0;
}
function resolveColor ( color ) { if ( ! color ) return 0 ; if ( color === "RANDOM" ) return Math . floor ( Math . random ( ) * ( 0xffffff + 1 ) ) ; else if ( color === "DEFAULT" ) return 0 ; else if ( Colors [ color ] ) return Colors [ color ] ; else return parseInt ( color . replace ( "#" , "" ) , 16 ) || 0 ; }
Resolves a Color string into a number
 @arg {string} color Color to resolve
 @returns {number} a color
Resolves a Color string into a number @arg { string } color Color to resolve @returns { number } a color