[Tex/LaTex] Light Gray color in beamer


I want to know how to define a light gray color with beamer. I am using this color
to shade a small block of my text.

Here is the code I am using for defining my colors.


The current color is giving me a very dark green. I am not sure how to change this
to light gray. Can some one help with this ?

Beamer only seems to be accepting values between 0 and 1.

This link does give values for gray but I think it is for some other units.

Best Answer

A simple solution would be to use some predefined gray color and the ! syntax together with \colorlet; for example:


(40% gray and 60% white); increasing the value used will produce darker shades and decreasing it, lighter ones.