Skip to content

Unable to convert colors? #411

@Roger-Breton

Description

@Roger-Breton

BTW, Coloraide is not for the faint of heart.

I managed to get to this point:

rom coloraide import cat
from coloraide import Color
lab_D65 = Color("lab", [30, 26, -27], illuminant="D65")

xyz_d65 = lab_D65.convert("xyz-d65").coords()

xyz_d50 = Color.chromatic_adaptation(cat.WHITES['2deg']["D50"], cat.WHITES['2deg']["D65"], xyz_d65, method='bradford')

But I can't figure how to convert xyz_d50 to Lab_d50?

Lab_d50 = xyz_d50 ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: triageIssue needs triage.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions