Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

The result of function toRGB multiplying by 2.55 should be rounded. #10

Closed
RubyHue opened this issue Sep 25, 2021 · 1 comment
Closed

Comments

@RubyHue
Copy link

RubyHue commented Sep 25, 2021

const rgbValues = toRGB(...).map(channelValue => Math.max(Math.min(Math.round(channelValue * 2.55), 255), 0));

@romainmenke
Copy link
Member

@RubyHue This has been resolved in the latest release.
This repo has moved to @csstools/postcss-plugins

If you have any further issues, you can find us there!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants