# Utils

This page documents the public utilities provided by **mini-svg**.

They are useful in any level (basic/intermediate/advanced) and include:

- **COLORS**: immutable color constants (attribute access like `COLORS.YELLOW`)
- **PALETTES**: immutable color palettes for generative art (e.g. `PALETTES.WARHOL`)
- **Global default style**: `set_style(...)` / `get_style(...)`
- **Color helpers**: `rgb`, `hex_to_rgb`, `gray_255`, `gray_percent`, `hsl`
- **Palette helper**: `palette_pick(...)`

---

## Public API

::: mini_svg.style
    options:
      show_root_heading: true
      show_source: false
      show_signature: true
      show_signature_annotations: true
      separate_signature: true
      members_order: source

