Completed.
return DBZ."COLOR_${type}_${ (17..0).find { intensity >= DBZ."INTENSITY_${it * 5}" } * 5}"