MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Files > legato_color.h
MPLAB® Harmony Graphics Suite
legato_color.h

Microchip Technology Inc.

File Name

legato_color.h

Description

Module for Microchip Graphics Library - Legato User Interface Library 

Color conversion and color channel management

Functions
 
Name 
Description 
 
Calculates bilinear interpolation between four colors 
 
Blends two ARGB8888 colors together using their alpha channel values. 
 
Blends two RGBA8888 colors together using their alpha channel values. 
 
Used for getting the alpha color channel of a given color value. 
 
Used for getting the blue color channel of a given color value. 
 
Used for getting the green color channel of a given color value. 
 
Used for getting the red color channel of a given color value. 
 
Converts a color value from one mode to another 
 
Linear interpolation between two colors 
 
Used for getting a color value by name. 
Macros
 
Name 
Description 
 
This is macro LE_COLOR_MODE_COUNT. 
 
This is macro LE_COLOR_MODE_IS_ALPHA. 
 
This is macro LE_COLOR_MODE_IS_INDEX. 
 
This is macro LE_COLOR_MODE_IS_PIXEL. 
 
This is macro LE_COLOR_MODE_LAST_COLOR. 
MPLAB® Harmony Graphics Suite