PyDocs

Nav

Generic Operating System Services

RGB

  • RGB(red, green, blue)
Return a COLORREF value as a Python integer. The red, green, and blue arguments are integers from 0 to 255, specifying the intensity of each color component:
1 Example
>>> from ctypes.wintypes import RGB
>>> hex(RGB(255, 128, 0))
'0x80ff'
from the Python docs
See Also
No see-alsos for ctypes.wintypes/RGB
0 Notes
No notes for RGB