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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pycolorama-0.7.tar.gz.

File metadata

  • Download URL: pycolorama-0.7.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for pycolorama-0.7.tar.gz
Algorithm Hash digest
SHA256 f15f877fc33294a5c4a9a95aee0cd10144a9ca70acd917d4fea41d17e47dea22
MD5 d9e90a9dc15903627bc64682282f5477
BLAKE2b-256 64667f305b2864534e8066944341b6af8d8df811de4866f8c06cdcd5cef17686

See more details on using hashes here.

File details

Details for the file pycolorama-0.7-py3-none-any.whl.

File metadata

  • Download URL: pycolorama-0.7-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for pycolorama-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d05ac40a03b590aa71e5121e5d014ee49a7f468a649a9bc914d2f36b80d43bd6
MD5 7e188a51976e80ac6e421dc5b09f1d42
BLAKE2b-256 9a2a3bc4d4ce8ec129135fa77c6552c2ca6c7aca020ee6941ae4d255ce29bb13

See more details on using hashes here.

Supported by

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