php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bert at bhack dot net
New email:
PHP Version: OS:

 

 [2012-03-19 16:13 UTC] bert at bhack dot net
Description:
------------
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 
65535.

Test script:
---------------
print_r($colorbutton->get_color());

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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 23:13 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 23:13 UTC] kalle@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC