Griaule Biometrics

Home » Fingerprint SDK 2009 Developer's Manual » Using the SDK » Color Coding Format

Color Coding Format

The color coding format used by the Fingerprint SDK library is the BGR 24-bits format. Each color channel has 256 levels (0 to 255) and the color is coded as the integer number composed by the three channels values in the strict order blue-green-red (most significant byte to least significant byte), or, blue x 65536 + green x 256 + red.

Some examples:

  • 255 (decimal) or 0000FF (hex) means pure red (    );
  • 65280 (decimal) or 00FF00 (hex) means pure green(    );
  • 16711680 (decimal) or FF0000 (hex) means pure blue (    );
  • 0 (decimal) or 000000 (hex) means black (    );
  • 16777215 (decimal) or FFFFFF (hex) means white (    );