Bug report #8756

colour expressions return rgb(a) instead of hex values

Added by Tim Sutton over 10 years ago. Updated almost 10 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 almost 10 years ago

Fix #8756 - Update function help for colour functions

History

#1 Updated by Anonymous almost 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF