public final class ColorUtil extends Object
Modifier and Type | Method and Description |
---|---|
static RGB |
blend(RGB val1,
RGB val2)
Blend the two color values returning a value that is halfway between
them.
|
static RGB |
getColorValue(String rawValue)
Get the RGB value for a given color.
|
static RGB[] |
getColorValues(String[] rawValues)
Get the RGB values for a given color array.
|
public static RGB blend(RGB val1, RGB val2)
val1
- the first valueval2
- the second valuepublic static RGB getColorValue(String rawValue)
rawValue
- the raw value, either an RGB triple or an SWT constant nameGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.