Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com tests: rgb (nn%, nn%, nn%)

Should be red

  1. color: rgb(100%, 0%, 0%)

  2. No spaces.

  3. Value specified to 1dp.

Should be green

  1. rgb (0%, 2000%, 0%)), clipped with respect to the device gamut to this green.

Should be black

  1. Specified to 2 dp - only valid to 1dp.

  2. Missing rgb().

  3. Missing %.

  4. Missing %.