Skip to content

Instantly share code, notes, and snippets.

@porglezomp
Last active January 10, 2021 01:58
Show Gist options
  • 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 it [1].

References

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

Copyright

This document has been placed in the public domain.

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