Skip to content

lab ranges different from CSS Color Module 4 #260

@drwpow

Description

@drwpow

Problem

The lab ranges (code) are set as following:

	ranges: {
		l: [0, 100],
		a: [-100, 100],
		b: [-100, 100]
	},

But in CSS Color Module 4, they’re defined as -125 and 125:

Percent reference range
for L: 0% = 0.0, 100% = 100.0
for a and b: -100% = -125, 100% = 125

Further, the lab65 ranges are (I’m guessing) the same ranges, just converted?

	ranges: {
		l: [0, 100],
		a: [-86.182, 98.234],
		b: [-107.86, 94.477]
	}

Is this an intentional deviation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions