Description Usage Arguments Value Examples
Creates an object of class "color" from a mixture of paint primary colors (YMCK palette)
1 | paint_color(y, m, c, k = 0, maxVal = 255)
|
y |
Amount of yellow paint |
m |
Amount of magenta paint |
c |
Amount to cyan light |
k |
Amount of black paint. Defaults to 0 |
maxVal |
Value assigned to represent maximum amount of paint. Defaults to 255 |
An object of class color.
1 2 3 | paint_color(255,255,0)
paint_color(255,255,0,128)
paint_color(0, 1, 1, maxVal=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.