|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #61438 color_to_hex functionally
Submitted: 2012-03-19 16:13 UTC Modified: 2017-10-24 23:13 UTC
From: bert at bhack dot net Assigned:
Status: Suspended Package: PHP-GTK related
PHP Version: Irrelevant OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
25 + 35 = ?
Subscribe to this entry?

 [2012-03-19 16:13 UTC] bert at bhack dot net
There is no easy way to convert the rgb values from a GdkColor object to normal 
hex or rgb. GdkColor uses seperate red, green and blue values ranging from 0 to 

Test script:

[0] => GdkColor Object
            [red] => 56815
            [green] => 7663
            [blue] => 7663
            [pixel] => 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 23:13 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 23:13 UTC]
I'm gonna suspend this report as the PHP GTK project activity seems halted, if the activity picks backup for the project then this report should be re-opened.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Oct 04 23:01:25 2023 UTC