Generates the wrong colors for rgb percentages. #454

nickretallack opened this Issue Nov 12, 2011 · 1 comment


None yet
3 participants

When I give it rgb percentages, it generates a color that is totally wrong. Ideally it would just let my color percentages pass right through. It's supposed to be compatible with regular CSS, right?

$ cat > lesstest.less
div {color:rgb(80%,80%,80%)}

$ lessc lesstest.less 
div {
  color: #010101;

Ah, good catch. It's here, pretty sure:

I think it can't use number() directly. Suggested fix:


@lukeapage lukeapage closed this in 952960c Nov 29, 2012

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