function calcProgression() {
    return globalState.color
        .split(',')
        .map((value) => parseInt(value, 10))
        .reduce((total, num) => total + num);
}
// Calculate rgb total value from rgb formatted string.
Calculate rgb total value from rgb formatted string.
Calculate rgb total value from rgb formatted string .
function calcProgression() {
    return globalState.color
        .split(',')
        .map((value) => parseInt(value, 10))
        .reduce((total, num) => total + num);
}
function calcProgression ( ) { return globalState . color . split ( ',' ) . map ( ( value ) => parseInt ( value , 10 ) ) . reduce ( ( total , num ) => total + num ) ; }
Calculate rgb total value from rgb formatted string.
Calculate rgb total value from rgb formatted string .