Bug report #8756

colour expressions return rgb(a) instead of hex values

Added by Tim Sutton almost 7 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:Nathan Woodrow
Category:Expressions
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17465

Description

The colour expressions documentation indicate that they return a hex e.g. from the ramp_colour help:

Example
ramp_color('Spectral',0.3) → '#fdbe73' 

However it actually writes an RGBA value to the field when the expression is run.

Associated revisions

Revision 3499a390
Added by Nathan Woodrow about 6 years ago

Fix #8756 - Update function help for colour functions

History

#1 Updated by Anonymous about 6 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF