> 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)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thunkable.com/snap-to-place/color.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
