protected OMColor[] createGreyScaleColors(int num_colors){ OMColor[] tempColors = new OMColor[num_colors]; if (num_colors == 0){
protected OMColor[] createGreyScaleColors(int num_colors) { if (num_colors == 0) {
    protected OMColor[] createGreyScaleColors(int num_colors){        OMColor[] tempColors = new OMColor[num_colors];        if (num_colors == 0){            num_colors = 216;        }        int grey_interval = 256/num_colors;                for (int i=0; i<num_colors; i++) {                        if(i==0)                tempColors[i] = new OMColor(0, 191, 239, 255);                        else{                int color = (i*grey_interval) + (grey_interval/2);                tempColors[i] = new OMColor(opaqueness, color, color, color);            }        }        return tempColors;    }