> For the complete documentation index, see [llms.txt](https://docs.thunkable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thunkable.com/snap-to-place/color.md).

# Color

There is a predefined set of colors in the blocks palette

![](/files/-LAn67k43lEyPNUWAw1K)

## Set RGBA Color

As pictured below, the easiest way to set a specific color is using a text block with the syntax `rgba(r,g,b,a)`

![](/files/-MXl3dDWVPs8ltD05BFH)

## Set RGB Color

![](/files/-MXl3mcPenm9hgPvqde_)

If you want to select specific colors, use the RGB block below

![](/files/-LAn67lBrgFUr5nfRx9D)

Strangely, you can also create a color by blending two together

![](/files/-LAn67llp4WhuScAES4F)

or you can choose one at random

![](/files/-LAn67mOP8Kqfkq0ctoP)

## Set HSV Color

A popular alternative to setting RGB color is to set Hue, Saturation and Value colors with the block below

![](/files/-MXl3x5Xt_gJLTD5QUMd)

## Set Hex Color

You can use a [Text](/snap-to-place/text.md) block to include a hex value for your preferred color:

![](/files/-MfCF2co3XV69NhFIfIS)
