|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.util.ColorUtils
public class ColorUtils
Utilities for dealing with RGB-style colors. Created: Mar 30, 2005
Constructor Summary | |
---|---|
ColorUtils()
|
Method Summary | |
---|---|
static java.lang.String[] |
rainbow(int n,
float s,
float b)
Returns a list of hex color names of length n. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorUtils()
Method Detail |
---|
public static java.lang.String[] rainbow(int n, float s, float b)
n
- Number of "equally-spaced" colors to returns
- Saturation of generated colorsb
- Brightness
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |