> For the complete documentation index, see [llms.txt](https://docs.scratch-for-discord.com/use/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scratch-for-discord.com/use/toolbox/basic/colors.md).

# Colors

## Usage

You can use colors, for [Embeds](/use/toolbox/discord/servers/messages/actions/embeds.md) or some [Images](/use/toolbox/functions/files/images.md#image-editing)

|                                                                                                                                 Input                                                                                                                                 |                                      Function                                     |        Output       |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------: | :-----------------: |
|   <img src="https://2077548579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3xg7dEw96L10OHOz0yDz%2Fuploads%2FLW0iX8kv9IZ35y2I46r5%2Fscreenshot%20(50).png?alt=media&amp;token=62970ba7-2e6c-44d4-aca3-003b137ca1bb" alt="" data-size="line">   |                                 Basic color picker                                |       #ff0000       |
| <img src="https://2077548579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3xg7dEw96L10OHOz0yDz%2Fuploads%2FuD4wmxnmDNPv5iHBjCSa%2Fscreenshot%20(51).png?alt=media&amp;token=be8d8622-b8f6-4aae-bf92-c33064d6f1ef" alt="" data-size="original"> |                         Generate a random color each time                         | (#000000 - #ffffff) |
| <img src="https://2077548579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3xg7dEw96L10OHOz0yDz%2Fuploads%2FUYL0gPIQD9AqbbleLDWU%2Fscreenshot%20(52).png?alt=media&amp;token=de257daa-3bbf-4a48-8afe-d681994f6e67" alt="" data-size="original"> |                Input a custom [HEX](https://g.co/kgs/7MwFUq) color                |       #4287f5       |
|          <img src="https://2077548579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3xg7dEw96L10OHOz0yDz%2Fuploads%2Fgit-blob-9e148e0d7a3e63197066a12fa09855ac835a8750%2Fscreenshot%20(53).png?alt=media" alt="" data-size="original">          |                  Make a custom Color Using RGB (Red, Green, Blue)                 | RGB (255, 127.5, 0) |
|          <img src="https://2077548579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3xg7dEw96L10OHOz0yDz%2Fuploads%2Fgit-blob-cc26116059ce1c80f0d03627cc0ef70beadc23f4%2Fscreenshot%20(55).png?alt=media" alt="" data-size="original">          | Blend 2 colors, that mean their two Hex codes will be combined into one new color |       #991a80       |

## Example

<figure><img src="https://2077548579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3xg7dEw96L10OHOz0yDz%2Fuploads%2FPgY83dklFEH7U9kCOFtN%2Fscreenshot%20(56).png?alt=media&amp;token=02d7b9cb-e8df-4469-8a2f-c52bc848bb2c" alt=""><figcaption><p>Make an embed, add a color, add a description, send the embed to user</p></figcaption></figure>

### Output

<figure><img src="https://2077548579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3xg7dEw96L10OHOz0yDz%2Fuploads%2FcHSrtjiG8XLwrSu8iXVA%2FSn%C3%ADmek%20obrazovky%202022-10-10%20215139.png?alt=media&amp;token=067e4965-18a6-4c0c-b204-2adfe965027b" alt=""><figcaption><p>Received Message</p></figcaption></figure>

### Cheat

To use RGB block with 255 colors with, you can use simple math

You know that 100 % is 255, but maximal input is 100

So you divide 100 by 255 and multiply it whatever RGB value you wish

<figure><img src="https://2077548579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3xg7dEw96L10OHOz0yDz%2Fuploads%2Fgit-blob-2348a0f2af7b53fe7e6951f14faeb16829e4902a%2Fscreenshot%20(57).png?alt=media" alt=""><figcaption><p>Make a RGB conventer</p></figcaption></figure>

Output is #ffd25a

which is in RGB 255, 210, 90
