Skip to main content

A simple color module to handle RGB and BGR format more easily

Project description

PyColorama

This is a simple package to handle easily various colors in either the PyGame (RGB) format or the OpenCV (BGR) format. Default mode is PyGame.

Example

Just use like that :

example for PyGame color

import pycolorama as pc

COLOR = pc.COLOR(pc.PYGAME)

print(COLOR.WHITE)

Will return : (0,0,255)

example for OpenCV color

import pycolorama as pc

COLOR = pc.COLOR(pc.OPENCV)

print(COLOR.BLUE)

Will return : (255,0,0)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycolorama-0.7.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

pycolorama-0.7-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page