rgba(0, 0, 0, .8); FOR BLACK code example Example: background color cs rgba #p1 {background-color:rgba(255,0,0,0.3);}