How to get hexadecimal colour value from Python API?



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]