Matrix1 Utility Plug-ins

# Matrix1Util_23

This plug-in provides extra functions for dealing with RGB colours in both 32 and 16 bit colour depths.
It also provides functions for converting HSV, HSL, CMY and CMYK colour ranges to their equivalent RGB colours, and the packing & unpacking of those colours into a single DWORD value.
Differences between HSL and HSV include:
- In HSL, saturation ranges from full colour to grey based upon the luminance, while in HSV it goes from full colour to white.
- In HSL, the Luminance ranges from pure Black to pure White, while in HSV the Value goes from pure Black to full colour.
CMY and CMYK are subtractive colour spaces, rather than the additive spaces represented by RGB, HSL and HSV. In term of RGB colour:
- More Cyan means less Red
- More Magenta means less Green
- More Yellow means less Blue

Extra RGB colour functions

A few extra functions missing from the native set of colour commands

RGB | - RGB with Alpha
RGBA | - Extract Alpha value from RGB
SET ALPHA | - Change Alpha in RGB

16 bit RGB colours

16 bit versions of the RGB colour commands

RGB16 | - RGB in 16 bits
RGB16 A | - Extract Alpha from 16 bit RGB
RGB16 B | - Extract Blue from 16 bit RGB
RGB16 G | - Extract Green from 16 bit RGB
RGB16 R | - Extract Red from 16 bit RGB

HSL colours

HSL A | - Extract Alpha from HSL
HSL H | - Extract Hue from HSL
HSL L | - Extract Luminance from HSL
HSL S | - Extract Saturation from HSL
HSL TO RGB | - Generate RGB from HSL
PACK HSL | - Build a single-value HSL
RGB TO HSL | - Generate HSL from RGB

HSV colours

HSV A | - Extract Alpha from HSV
HSV H | - Extract Hue from HSV
HSV S | - Extract Saturation from HSV
HSV TO RGB | - Generate RGB from HSV
HSV V | - Extract Value from HSV
PACK HSV | - Build a single-value HSV
RGB TO HSV | - Generate HSV from RGB

CMYK colours

CMYK C | - Extract Cyan from CMYK
CMYK K | - Extract Black from CMYK
CMYK M | - Extract Magenta from CMYK
CMYK TO RGB | - Generate RGB from CMYK
CMYK Y | - Extract Yellow from CMYK
PACK CMYK | - Build a single-value CMYK
RGB TO CMYK | - Generate CMYK from RGB

CMY colours

CMY A | - Extract Alpha from CMY
CMY C | - Extract Cyan from CMY
CMY M | - Extract Magenta from CMY
CMY TO RGB | - Generate RGB from CMY
CMY Y | - Extract Yellow from CMY
PACK CMY | - Build a single-value CMY
RGB TO CMY | - Generate CMY from RGB

Simplified colours

ANSI COLOUR | - 16 colours used in terminal emulators
OLD ANSI COLOUR | - 8 colours used in terminal emulators

CSS3 standard colours

CSS3 COLOUR |

Go back to ...

Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011