Skip to contents

Convert a CSS hex colour to Excel ARGB format

Usage

hex_to_argb(hex)

Arguments

hex

A hex colour string, with or without a leading # (e.g. "#cc0000" or "cc0000").

Value

A string in "FFrrggbb" format (uppercase).