Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Biased random colors

Project description

Biased Random Colors

Description

The module have a simple function get to get some random colors, represented by (R, G, B), in the range between 0 and 1.

How to use

import bmcs
more_red    = bmcs.get(color_number, bias=(1.0, 0.5, 0.5))
more_purple = bmcs.get(color_number, bias=(1.0, 0.5, 1.0))
bright_red  = bmcs.get(color_number, bias=(1.0, 0.5, 0.5), lightness=(0.6, 1.0))

Project details


Download files

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

Files for brcs, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size brcs-0.1.2.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page