# Hued Reference

## Available Modules

* Attacks: `import hued.`**`colors`**
* Analysis: `import hued.`**`analysis`**
* Conversions: `import hued.`**`conversions`**
* Palettes: `import hued.`**`palettes`**

## Available Functions

* **Colors**: `ColorManager.hex_to_rgb`, `ColorManager.rgb_to_hex`, `ColorManager.closest_color_name`, `ColorManager.get_color_by_name`
* **Analysis**: `get_temperature`, `is_neutral`, `brightness`, `is_pastel`, `is_muted`, `is_vibrant`, `rgb_to_linear`, `get_luminance`, `get_vibrancy`, `color_contrast`, `get_text_color_from_background`, `check_color_quality`, `simulate_color_blindness`
* **Conversions**: `rgb_to_hex`, `hex_to_rgb`, `rgb_to_hsl`, `hsl_to_rgb`, `rgb_to_hsv`, `hsv_to_rgb`, `rgb_to_cmyk`, `cmyk_to_rgb`, `blend_colors`, `hex_to_cmyk`, `hex_to_hsv`, `hex_to_hsl`, `hsl_to_cmyk`, `hsl_to_hsv`, `hsl_to_hex`, `hsv_to_cmyk`, `hsv_to_hsl`, `hsv_to_hex`, `cmyk_to_hex`, `cmyk_to_hsv`, `cmyk_to_hsl`, `rgb_to_xyz`, `xyz_to_rgb`, `xyz_to_cmyk`, `xyz_to_hex`, `xyz_to_hsl`, `xyz_to_hsv`, `hex_to_xyz`, `hsl_to_xyz`, `hsv_to_xyz`, `cmyk_to_xyz`

  **Palettes**: `ColorPalette.generate_complementary`, `ColorPalette.generate_analogous`, `ColorPalette.generate_triadic`, `ColorPalette.generate_monochromatic`, `ColorPalette.palette_to_hex`, `ColorPalette.generate_random_palette`, `ColorPalette.generate_tetradic`, `ColorPalette.generate_square`, `ColorPalette.generate_split_complementary`, `ColorPalette.generate_random_color`, `ColorPalette.generate_random_hex_colors` , `ColorPalette.generate_gradient` , `export_palette`

{% hint style="info" %}
Most of our functions rely on the **RGB** color format, but you can quickly convert to and from RGB using our `conversions` module.
{% endhint %}


---

# Agent Instructions: 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://infinitode-docs.gitbook.io/documentation/package-documentation/hued-package-documentation/hued-reference.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.
