Skip to main content

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 arrow keys. The scroll wheel takes you inside the sphere.

In the default usage, clicking a color in the sphere will print out its RGB and HSL (hue, saturation, lightness) color coordinates. However, the main purpose is to use it as a color picker from within other python programs.

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

colorsphere-0.1.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

colorsphere-0.1.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file colorsphere-0.1.2.tar.gz.

File metadata

  • Download URL: colorsphere-0.1.2.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for colorsphere-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cb0481e4eb51c9df8c07af159a95e6fd80088cd6108dce4055071d918a821bd4
MD5 2475a7096f9d0952867d27cdeca6e9ab
BLAKE2b-256 4546e7ee20b9dae46f68b4a8969c20d531588b706080c38cbd71f63b64706c71

See more details on using hashes here.

Provenance

The following attestation bundles were made for colorsphere-0.1.2.tar.gz:

Publisher: python-publish.yml on Anders-Holst/colorsphere

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file colorsphere-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: colorsphere-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for colorsphere-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 632d1b8fc3d2761837851b6b3b2a4ea1d51c298e8ae0b67682f88ed61a356657
MD5 a6a9c3bd5737bedcb0752912d53e9f34
BLAKE2b-256 fb0190e914b74937cc22e90b46dd8437c1e1555037b9778a267f88f8ba57253e

See more details on using hashes here.

Provenance

The following attestation bundles were made for colorsphere-0.1.2-py3-none-any.whl:

Publisher: python-publish.yml on Anders-Holst/colorsphere

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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