Skip to content

Instantly share code, notes, and snippets.

@porglezomp
Last active January 10, 2021 01:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save porglezomp/8b1c4210ffbb22413e2127ba144debf3 to your computer and use it in GitHub Desktop.
Save porglezomp/8b1c4210ffbb22413e2127ba144debf3 to your computer and use it in GitHub Desktop.
codl pep

PEP: 9999 Title: Add Lab to colorsys Author: Cassie Jones <code@witchoflight> codl Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 28-Nov-2017 Python-Version: 3.7 Post-History: 30-Aug-2002

Abstract

This PEP adds the Lab colorspace to the colorsys module with two new functions, colorsys.rgb_to_lab(r, g, b) and colorsys.lab_to_rgb(l, a, b).

Rationale

codl wanted it1.

References

Copyright

This document has been placed in the public domain.

Local Variables: mode: indented-text indent-tabs-mode: nil sentence-end-double-space: t fill-column: 70 coding: utf-8 End:


  1. codl tweet (https://twitter.com/codl/status/935651348535808000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment