Project

General

Profile

Actions

$hexcolor » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 08/31/2017 01:50 AM


Added in 3.0

$hexcolor(color)

Converts a hex color into $rgb decimal format.

Parameters

color - The hex color to convert.

Properties

.rgb - Convert to rrr,ggg,bbb format instead.

Example

; Returns "255" decimal.
//echo -ag $hexcolor(FF0000)

; Returns "255,0,0" rrr,ggg,bbb value.
//echo -ag $hexcolor(FF0000).rgb

Updated by Per Amundsen over 7 years ago · 1 revisions

Also available in: PDF HTML TXT