How to get hexadecimal colour value from Python API?
- From: Bao Niu <niubao56 gmail com>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: How to get hexadecimal colour value from Python API?
- Date: Sun, 7 Jul 2013 23:52:23 -0700
Now if I want to extract colour value for an object from Python API, there is only one form, namely decimal RBG value, and even worse, they are three separate attributes (value.red, value.blue, value.green), is there a way to extract a single hexadecimal colour value? Or at least extract a grouped RBG value from one call instead of three different calls? Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]