Top Categories
CSS Tutorial For Beginners 47 - Color
- Category:
- Sub Category:
Now, my friends, let there be COLOUR (or color, depending on when you're from ;) ). In this CCS tutorial we'll take a look at how we can use color for properties such as the background & text color. Color can be used in either Hex or rgb format. Hex codes are made up of 6 numbers &
Now, my friends, let there be COLOUR (or color, depending on when you're from ;) ). In this CCS tutorial we'll take a look at how we can use color for properties such as the background & text color. Color can be used in either Hex or rgb format. Hex codes are made up of 6 numbers &/or letters, and always begin with a # sign 0 #00000. rgb format is made up of 3 numbers (each ranging from 0 to 255) and start with 'rgb' - rgb(0,0,0). You can also use hsl format (hue, saturation and luminosity), which people from a design background will probably know all about. In CSS, this looks something like hsl(60, 70%, 40%).