Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RGBA code for red color [closed]

Tags:

rgba

I'm looking for RGBA code for red color with opacity: Can someone tell me how can i find about it?(or where i can learn more about RGBA colors? Thanks.

like image 647
jay Avatar asked Mar 05 '11 23:03

jay


People also ask

What is Rgba for red color?

For example, rgb(255, 0, 0) is displayed as red, because red is set to its highest value (255) and the others are set to 0.

What is RGBA color codes?

RGBA color values are an extension of RGB color values with an alpha channel - which specifies the opacity for a color. An RGBA color value is specified with: rgba(red, green, blue, alpha). The alpha parameter is a number between 0.0 (fully transparent) and 1.0 (fully opaque).


1 Answers

rgba(red, green, blue, alpha)

The range for red, green and blue is 0-255. The high the number, the more presence the color shows.

The range for alpha is 0.0-1.0. The higher the number, the higher the opacity.

Fully opaque red would be rgba(255, 0, 0, 1)

like image 159
McKayla Avatar answered Apr 28 '23 21:04

McKayla