Select colors on a 3D sphere
Project description
# Colorsphere - An RGB color picker with colors arranged in a 3D sphere.
This module implements an interactive 3-dimensional color picker - to the author’s knowledge the first ever 3-dimensional color picker.
The color sphere represents the whole color body, where one pole is black, the other pole is white, and the color circle is around the equator. If you follow a meridian from the black pole, the color will gradually increase in strength to its maximum brilliance and then seamlessly continue to become brighter all the way to white. Less saturated colors are inside the sphere. The axis through the middle of the sphere between the poles contains all grays from black to white. Thus, the hue is represented by the longitude, the lightness by the latitude, and the saturation by the proportion from the surface to the center black-white axis of the sphere. You can rotate the sphere either by dragging the surface, or using the scroll wheel. Shift- scrolling goes sideways. Control scrolling goes inside the spere.
In the default usage, clicking a color in the sphere will print out its RGB and HSL (hue, saturation, lightness) color coordinates.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file colorsphere-0.1.0.tar.gz
.
File metadata
- Download URL: colorsphere-0.1.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d16952300233ceb6eb01884a845d4270ee3455739e5e4264035b70a1d823750 |
|
MD5 | 0d0d191b1f84faf4965f96e0a60194e0 |
|
BLAKE2b-256 | 480a01947d862168a405a6144e4fb5ca0dd7c1293f5e63f6c77e8314998ea392 |
File details
Details for the file colorsphere-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: colorsphere-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be420f488b2bc36e38a44849dc029b35fc26b451dd3b83c4b7b879af03f92aee |
|
MD5 | 8ed4ab8bc54645268a32fafaeecfa3a1 |
|
BLAKE2b-256 | a4dcd08eee38dcda1bcc918696def02170329bd672c73a3de07dcdc811d7da4f |