Predefined Functions – blue

Function name: blue – Return blue component
Synopsis: blue(c)


Input data type Output data type
color real

Description:

This function takes a color variable as input and returns the blue part of the color. Normally the blue part of a color is between 0 and 1. Colors can be created by using one of the color creation functions:

Internally colors are stored in RGBA format, thus this function is fast as it only needs to return one of the stored components of the color.

blue