Miniwindows in MUSHclient - Colour blending modes
Written by Nick Gammon - July 2008. Updated September 2010.
On this page:
See also:
- Introduction
- Creating miniwindows
- Drawing shapes
- Drawing images
- Drawing text
- Hotspots
- Helpful graphics functions
Colour blending modes
See Blending images for a description of how to use the image blending function. On this page are illustrated the "colour" modes.
| Base image (in miniwindow) | Blend image (mentioned in WindowBlendImage) |
|---|---|
![]() |
![]() |
The modes on this page operate over all three channels (red, green and blue) rather than individual pixels.
Red mode (36)
Red is extracted from the blend image, the other color channels are taken from the base image.

Green mode (37)
Green is extracted from the blend image, the other color channels are taken from the base image.

Blue mode (38)
Blue is extracted from the blend image, the other color channels are taken from the base image.

Yellow mode (39)
Red and green are extracted from the blend image, blue is taken from the base image.

Cyan mode (40)
Green and blue are extracted from the blend image, red is taken from the base image.

Magenta mode (41)
Red and blue are extracted from the blend image, green is taken from the base image.

Examples on this page
The examples on this page are taken from Fields of gold... by Spiralz, and Thanks to solea by jam343. These are licensed for royalty-free use under the Attribution 2.5 Generic License. They were obtained from the web site http://www.everystockphoto.com/.
Some ideas and descriptions were adapated from the Pegtop.net Blend Modes article.
Summary of the pages with the various mode groups:
- Normal, average, dissolve
- Darkening modes
- Lightening modes
- Soft/hard light modes
- Difference/logical modes
- Glow modes
- Colour copying
- Colour limiting
- Channel modes
- HSL modes
Other pages about miniwindows
- Introduction
- Creating miniwindows
- Drawing shapes
- Drawing images
- Drawing text
- Hotspots
- Helpful graphics functions

