Skip to content

scale-color() produces incorrect colors #2903

@nex3

Description

@nex3

LibSass's scale-color() function output doesn't match that of Dart Sass or Ruby Sass in a number of cases:

scale-color(turquoise, $saturation: 24%, $lightness: -48%)
  should be #10867a, is actually #0d897c
scale-color(plum, $saturation: 67%)
  should be #f489f4, is actually #e895e8
scale-color(plum, $saturation: 100%)
  should be #ff7eff, is actually #ed90ed

There are likely other cases that are invalid as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compatibility - P2Moderately important for compatibility with the Sass spec and ecosystem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions