Yelp

(The Help System)

color.g

Extract the green component of a color.

Parameters

color

A color specified in hexidecimal, rgb(), or rgba().

This template extracts the green portion of a color, returning a number between 0 and 255. It accepts six-digit and three-digit hexidecimal color codes, colors specified with rgb(), and colors specified with rgba(). It does not accept HSL or named HTML colors.

Calls Templates