| Calling Sequence
| BrightenColor(color)
BrightenColor(color,beta)
|
| Parameters
| | Name | Type | Description |
|
| color
| list(nonnegative) | a RGB color |
| beta
| numeric | (optional) amount of increase/decrease in brightness |
|
| Return Type
| [nonnegative, nonnegative, nonnegative] |
| Synopsis
| BrightenColor increases or decreases the color intensity. If
0 < beta < 1, the color gets brighter and if -1 < beta < 0 the color gets
darker. The operation is not necessarily reversable (see example).
The default value for beta is 0.3 |
| Examples
| > BrightenColor([1,0,0]);
[1, 0.3000, 0.3000]
> BrightenColor([0.5,0.5,0.5], -.2);
[0.3000, 0.2400, 0.2400]
> BrightenColor(BrightenColor([0.3,0.5,0.9],-0.4),0.4);
[0.3600, 0.5400, 0.9000]
|
| See also
| ColorPalette, DrawDistribution, DrawDotplot, DrawGraph, DrawHistogram, DrawPlot, DrawPointDistribution, DrawStackedBar, DrawTree, GetColorMap, Plot2Gif, PlotArguments, Set, SmoothData, StartOverlayPlot, StopOverlayPlot, ViewPlot |