File: color.rst

package info (click to toggle)
pysdl2 0.9.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,328 kB
  • sloc: python: 24,685; makefile: 36; sh: 8
file content (16 lines) | stat: -rw-r--r-- 595 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
`sdl2.ext.color` - Color Representation and Conversion
======================================================

The `sdl2.ext.color` module provides a number of classes and functions for
working with colors.

The primary part of this module is the `Color` class, which allows flexible
representation of colours across `sdl2.ext` functions and offers easy conversion
between colorspaces (e.g. RGB to HSV). Additionally, this module provides
functions for easily converting RGBA/ARGB integers and hexidecimal strings
to `Color` objects.


.. automodule:: sdl2.ext.color
	:undoc-members:
	:members: