colorsys
Stdlib — MiscPython 2.0+Intermediate
Convert between color systems: RGB, HSV, HLS, YIQ
Quick Info
- Documentation
- Official Docs
- Python Version
- 2.0+
- Dependencies
- None — Python Standard Library
- Install
Included with Python
Learn by Difficulty
Quick Example
python
import colorsys print(f"Module: colorsys") print(f"Contents: {dir(colorsys)[:10]}")
The colorsys module is part of Python's standard library. Convert between color systems: RGB, HSV, HLS, YIQ.
Try in PlaygroundTags
stdlibutility