Skip to content

Commit 3499a39

Browse files
committed
Fix #8756 - Update function help for colour functions
1 parent bbdf7cd commit 3499a39

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

resources/function_help/color_cmyk

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Returns a string representation of a color based on its cyan, magenta, yellow an
1414

1515
<p><h4>Example</h4>
1616
<!-- Show example of function.-->
17-
color_cmyk(100,50,0,10) &rarr; '#0073e6'</p>
17+
color_cmyk(100,50,0,10) &rarr; '0,115,230'</p>

resources/function_help/color_hsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Returns a string representation of a color based on its hue, saturation, and lig
1212

1313
<p><h4>Example</h4>
1414
<!-- Show example of function.-->
15-
color_hsl(100,50,70) &rarr; '#a6d98c'</p>
15+
color_hsl(100,50,70) &rarr; '166,217,140'</p>

resources/function_help/color_hsv

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Returns a string representation of a color based on its hue, saturation, and val
1212

1313
<p><h4>Example</h4>
1414
<!-- Show example of function.-->
15-
color_hsv(40,100,100) &rarr; '#ffaa00'</p>
15+
color_hsv(40,100,100) &rarr; '255,170,0'</p>

resources/function_help/color_rgb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Returns a string representation of a color based on its red, green, and blue com
1313

1414
<p><h4>Example</h4>
1515
<!-- Show example of function.-->
16-
color_rgb(255,127,0) &rarr; '#ff7f00'</p>
16+
color_rgb(255,127,0) &rarr; '255,127,0'</p>

resources/function_help/ramp_color

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Returns a string representing a color from a color ramp.
1212

1313
<p><h4>Example</h4>
1414
<!-- Show example of function.-->
15-
ramp_color('Spectral',0.3) &rarr; '#fdbe73'</p>
15+
ramp_color('Spectral',0.3) &rarr; '253,190,115,255'</p>
1616

1717
<p><h4>Note:</h4>
1818
The color ramps available vary between QGIS installations. This function

0 commit comments

Comments
 (0)