Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colour expressions return rgb(a) instead of hex values #17465

Closed
qgib opened this issue Oct 2, 2013 · 1 comment
Closed

colour expressions return rgb(a) instead of hex values #17465

qgib opened this issue Oct 2, 2013 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions

Comments

@qgib
Copy link
Contributor

qgib commented Oct 2, 2013

Author Name: Tim Sutton (Tim Sutton)
Original Redmine Issue: 8756
Affected QGIS version: 2.0.1
Redmine category:expressions
Assignee: Nathan Woodrow


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.

@qgib
Copy link
Contributor Author

qgib commented May 18, 2014

Author Name: Anónimo (Anónimo)


Fixed in changeset "3499a390d643c454b8b2eaca4d63979fe7005263".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions
Projects
None yet
Development

No branches or pull requests

1 participant