## org.csstudio.opibuilder.util
Class OPIColor

The dedicated color type which supports predefined color name in OPI builder color file. If the color name doesn't exist in the color file, the color value is null.

Method Summary
`java.lang.String` | `getColorName()`
`org.eclipse.swt.graphics.RGB` | `getRGBValue()`
`boolean` | `isPreDefined()`

Method Detail

### getColorName

    public java.lang.String getColorName()

  Returns:
    the name of color if it is a predefined color macro; otherwise, it is a string of the RGB values.

### getRGBValue

    public org.eclipse.swt.graphics.RGB getRGBValue()

  Returns:
    the rgb value of the color. null if the predefined color does not exist.

### isPreDefined

    public boolean isPreDefined()

  Returns:
    true if this color is predefined in color file, false otherwise.