Bug report #8756
colour expressions return rgb(a) instead of hex values
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
Fix #8756 - Update function help for colour functions
History
#1 Updated by Anonymous over 10 years ago
- Status changed from Open to Closed
Fixed in changeset 3499a390d643c454b8b2eaca4d63979fe7005263.