hexToRGBA

hexToRGBA is a utility function that converts a hex color to an RGBA color.

Import

import { hexToRGBA } from '@contentful/f36-utils';

Example

Basic usage

Help improve this page