Skip to main content

Get colors easily

Project description

  1. Run the following script to install paper_color:
pip install paper-color
  1. Get the color in your python program using paper_color:
from paper_color import paper_color
paper_color.get_color()
# ['#3366FF', '#6AB520', '#0CA6FF', '#FFBF1E', '#FF4E2B']
  1. You can also get a ladder color array:
from paper_color import paper_color
colors = paper_color.ladder_colors(html_color='#31655f')
# ['#000000', '#040a09', '#091413', '#0e1e1c', '#132826', '#18322f', '#1d3c39', '#224642', '#27504c', '#2c5a55', '#31655f', '#45746f', '#5a837f', '#6e938f', '#83a29f', '#98b2af', '#acc1bf', '#c1d0cf', '#d5e0df', '#eaefef', '#ffffff']

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

paper_color-0.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

paper_color-0.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file paper_color-0.0.2.tar.gz.

File metadata

  • Download URL: paper_color-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for paper_color-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e5b22a61ff27f777df26e14782813ef82bd3d4d17825e585819fe1bb2db8c350
MD5 62e03715cdb88dde26806472fe521352
BLAKE2b-256 36bac3a8cf3199c2103d13507d0e6ef4ed653aefaecc9f354009c956c2eb6004

See more details on using hashes here.

File details

Details for the file paper_color-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: paper_color-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for paper_color-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64eb15bc12344cccdce60592faec943e69d97b09436c3e8e9abc5028a77a2876
MD5 c66145bd8408b9c0f38f151c57390793
BLAKE2b-256 224dc517e86fb75e5316bb9b96ce48b17a64514ce75c0b9861028c95a2a531f5

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