---
description: Easy Canvafy Functions
---

# Utils

```atom
canvafy.Util
```

## [format\_time(time)](#format_time-time)

| PARAMETER                                 | TYPE                                          | DESCRIPTION              |
| ----------------------------------------- | --------------------------------------------- | ------------------------ |
| <mark style="color:blue;">**time**</mark> | <mark style="color:yellow;">**Number**</mark> | **Format Activity Time** |

## [captchaKey(length)](#captchakey-length)

| PARAMETER                                   | TYPE                                          | DESCRIPTION                                                                                                                              |
| ------------------------------------------- | --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| <mark style="color:blue;">**length**</mark> | <mark style="color:yellow;">**Number**</mark> | <p><strong>Captcha Key Generator Char Length</strong><br><mark style="background-color:purple;"><strong>(Default; 8)</strong></mark></p> |

## [rgbToHex(r,g,b)](#rgbtohex-r-g-b)

| PARAMETER                              | TYPE                                          | DESCRIPTION                 |
| -------------------------------------- | --------------------------------------------- | --------------------------- |
| <mark style="color:blue;">**r**</mark> | <mark style="color:yellow;">**Number**</mark> | **RGB Format Red Number**   |
| <mark style="color:blue;">**g**</mark> | <mark style="color:yellow;">**Number**</mark> | **RGB Format Green Number** |
| <mark style="color:blue;">**b**</mark> | <mark style="color:yellow;">**Number**</mark> | **RGB Format Blue Number**  |
