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

Add functions to convert color format #23988

Closed
qgib opened this issue Jan 13, 2017 · 4 comments
Closed

Add functions to convert color format #23988

qgib opened this issue Jan 13, 2017 · 4 comments
Labels
Expressions Related to the QGIS expression engine or specific expression functions Feature Request Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@qgib
Copy link
Contributor

qgib commented Jan 13, 2017

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 16073

Redmine category:expressions


It could be nice to have functions to convert color from one format to another ( rgb(a), hsl, hex...)
For example, it could help to display @symbol_color value in another format than hex.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib qgib added Feature Request Expressions Related to the QGIS expression engine or specific expression functions labels May 25, 2019
@suricactus
Copy link
Contributor

Not sure if this feature is really needed, as the main way of working with colors is in hex. There is already the color_part function, that provides flexibility to extract whatever one wants from a given color.

color_part('#ff00ff', 'hue') || ', ' || color_part('#ff00ff', 'saturation') || ', ' || color_part('#ff00ff', 'value')
'300, 100, 100'

@gioman gioman added the Feedback Waiting on the submitter for answers label Mar 9, 2020
@github-actions
Copy link

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jul 14, 2021
@github-actions
Copy link

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue.
Or, if you have any further questions, there are also further support channels that can help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expressions Related to the QGIS expression engine or specific expression functions Feature Request Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

3 participants