rgb() / rgba()
Term side of the Card
Topic: Colors
Unit title: rgb() / rgba()
Categories: Function
Explanation side of the Card
Explanation: The functions used to define colors using the RGB (Red, Green, Blue) color model. The `rgb()` function specifies colors with three numeric values, while `rgba()` adds a fourth value for transparency (alpha channel), allowing for precise control over color and opacity.
Browser compatibility:
- The chrome browser supports this feature starting from version 1
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 1
- The safari browser supports this feature starting from version 1
Availability: