The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Color Values in Python?
04-21-2021, 12:23 AM (This post was last modified: 04-21-2021 01:31 AM by toml_12953.)
Post: #1
Color Values in Python?
In HPPL we can use the rgb() function to specify color. That doesn't work in Python. Is there a way to specify color in Python? I know I can do

65536*r + 256*g + b

but I'd like a better way.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Color Values in Python? - toml_12953 - 04-21-2021 12:23 AM
RE: Color Values in Python? - critor - 04-21-2021, 07:01 AM
RE: Color Values in Python? - toml_12953 - 04-21-2021, 07:49 AM
RE: Color Values in Python? - critor - 04-21-2021, 09:03 AM
RE: Color Values in Python? - toml_12953 - 04-21-2021, 02:23 PM
RE: Color Values in Python? - toml_12953 - 04-22-2021, 01:26 PM



User(s) browsing this thread: 1 Guest(s)