Web platform features explorer

RGB

Widely available since 2022-07-15
Tags: css Groups: CSS > Color types

The rgb(), rgba(), and hexadecimal (as in #004488ff) notations pick colors using red, green, blue, and alpha (transparency) channels.

Browser support

  • Chrome 65 Released on 2018-03-06
  • Chrome Android 65 Released on 2018-03-06
  • Edge 79 Released on 2020-01-15
  • Firefox 52 Released on 2017-03-07
  • Firefox for Android 52 Released on 2017-03-07
  • Safari 12.1 Released on 2019-03-25
  • Safari on iOS 12.2 Released on 2019-03-25

Interop