public class Analogous extends Palette
Constructor and Description |
---|
Analogous(PApplet parent)
Creates an Analogous color palette with 3 colors, based on a given color.
|
Analogous(PApplet parent,
int color)
Creates an Analogous color palette with 3 colors, based on a given color.
|
Modifier and Type | Method and Description |
---|---|
void |
createPalette(int color) |
Analogous |
setColor(int color)
Sets the color for the palette.
|
addColor, addColors, createPalette, drawSwatches, drawSwatches, getAverage, getColor, getDarkest, getLightest, numSwatches, removeDuplicateSwatches, rotateRGB, rotateRYB, sortByHue, sortByLuminance, sortByProximity, sortBySaturation
public Analogous(PApplet parent)
parent
- public Analogous(PApplet parent, int color)
parent
- public Analogous setColor(int color)
color
- public void createPalette(int color)
createPalette
in class Palette
Processing library colorLib by Jan Vantomme. (C) 2012 - 2015