Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update darker function description
  • Loading branch information
DelazJ authored and nyalldawson committed Jul 3, 2020
1 parent 0876bae commit ecb617c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/function_help/json/darker
Expand Up @@ -5,7 +5,7 @@
"description": "Returns a darker (or lighter) color string",
"arguments": [
{"arg":"color", "description":"a color string"},
{"arg":"factor", "description":"a integer number corresponding to the darkening factor:<ul><li>if the factor is greater than 100, this functions returns a darker color (for e.g., setting factor to 300 returns a color that has one-third the brightness);</li><li>if the factor is less than 100, the return color is lighter, but using the lighter() function for this purpose is recommended;</li><li>if the factor is 0 or negative, the return value is unspecified.</li></ul>"}
{"arg":"factor", "description":"an integer corresponding to the darkening factor:<ul><li>if the factor is greater than 100, this functions returns a darker color (e.g., setting factor to 300 returns a color that has one-third the brightness);</li><li>if the factor is less than 100, the return color is lighter, but using the lighter() function for this purpose is recommended;</li><li>if the factor is 0 or negative, the return value is unspecified.</li></ul>"}
],
"examples": [ { "expression":"darker('200,10,30',300)", "returns":"'66,3,10,255'"}]
}

0 comments on commit ecb617c

Please sign in to comment.