class IndexedColorant
{
    private int index;
    private float[] rgbValues;

    /**
     * Constructor.
     */
    public IndexedColorant(){}

    public int getIndex()
    {
        return index;
    }

    public void setIndex(int index)
    {
        this.index = index;
    }

    public void setRgbValues(float[] rgbValues)
    {
        this.rgbValues = rgbValues;
    }

    public Color getColor()
    {
        return new Color(rgbValues[0], rgbValues[1], rgbValues[2]);
    }

    public String getRGBValuesString()
    {<FILL_FUNCTION_BODY>}
}

        StringBuilder builder = new StringBuilder();
        for (float i: rgbValues)
        {
            builder.append((int)(i*255));
            builder.append(", ");
        }
        builder.deleteCharAt(builder.lastIndexOf(","));
        return builder.toString();
    
<no_super_class>