src/main/java/nl/meine/sortingvisualiser/helpers/ColorHelper.java
/**
     *
     * @param value should be from 0 unti 100
     */
@param value should be from 0 unti 100
@param value should be from 0 unti 100
public Color numberToColor(final double value) {
        if (value < 0 || value > 100) {
            return null;
        }
        return numberToColorPercentage(value / 100);
    }
public Color numberToColor ( final double value ) { if ( value < 0 || value > 100 ) { return null ; } return numberToColorPercentage ( value / 100 ) ; }
@param value should be from 0 unti 100
@param value should be from 0 unti 100