> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unrealapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Random hex color picker

`GET` `/random-hex`

Generates a random hex color code.

## Headers

| Name   | Value                |
| ------ | -------------------- |
| apikey | 28-Character API Key |

## Response

<Tabs>
  <Tab title="200">
    ```json theme={null}
    {
      "hex": "#3fa2cc",
      "rgb": {
        "r": 63,
        "g": 162,
        "b": 204
      },
      "shade": "Blue",
      "image": "https://singlecolorimage.com/get/3fa2cc/300x300"
    }
    ```
  </Tab>

  <Tab title="401: Unauthorized">
    **Error**\
    You didn't provide a valid API key.
  </Tab>
</Tabs>
