Functions

f
hexToRgb

Converts a HEX color to an RGB color.

f
rgbToHex

Converts an RGB color to a HEX color.

Usage

import * as mod from "sgr/helper.ts";