|
color.modify
|
| |
|
description
Modifies the hue, saturation and/or brightness value of the specified color.
privilege-required
anyone
tx-support
false
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| brightness |
float |
none |
false |
Brightness in % (can negative). |
| base |
string |
none |
true |
The color to modify (in RGB Hexadecimal format #RRGGBB). |
| saturation |
float |
none |
false |
Satuaration in % (can negative). |
| hue |
float |
none |
false |
Hue value (scale 0-100). |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
base is not a valid hex color value. |
|
| |
|
RESULT
|
|
|
name
|
description
|
| color |
Modified color in RGB format (#RRGGBB). |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="color.modify"
base="#10FF99"
hue="50"
saturation="20"
brightness="-10"
>
<nvd:result name="color" variable="newcolor" />
</nvd:command>
|
|