For the best experience
This app works best on desktop or laptop screens. To fully enjoy the interactive challenges, we recommend using a larger device.
Apply the color property to both blocks so that each text matches the required color shown in the target layout.
Roses are red 🌹
Green like a frog 🐸
Roses are red 🌹
Green like a frog 🐸
The color property defines the color of text inside an element.
It affects only the text content and does not change the background of the element.
Colors can be defined using keywords, hexadecimal values, RGB, or HSL formats.
Changing the text color helps improve readability and visual hierarchy in a design.
Using the color property effectively is essential for styling typography.
/* Named color */
color: red;/* Hexadecimal value */
color: #ff0000;/* RGB value */
color: rgb(255, 0, 0);/* HSL value */
color: hsl(0, 100%, 50%);This app works best on desktop or laptop screens. To fully enjoy the interactive challenges, we recommend using a larger device.