div background color opacity css code example Example: css opacity background color background: rgba(255, 255, 255, 0.25);