html img make color transparent code example Example: html make image transparent img { opacity: 0.5; }