Canvas.Brush.Color and user defined color constants

Giganews Newsgroups
Subject:Canvas.Brush.Color and user defined color constants
Posted by: Michael Fritz (spam_athome@yahoo.de)
Date:Fri, 31 Oct 2008

Hi,

I've defined my own color constants like these:

const
  rmcAliceBlue = $FFF0F8FF;
  rmcAntiqueWhite = $FFFAEBD7;
  rmcAquamarine = $FF7FFFD4;
  rmcArmyGreen = $FF669966;
  rmcAutumnOrange = $FFFF6633;
  rmcAvocadoGreen = $FF669933;
  rmcAzure = $FFF0FFFF;
  rmcBabyBlue = $FF6699FF;
  rmcBananaYellow = $FFCCCC33;

When using one of those constants with Canvas.Brush.Color this mostly
results in black colors on the canvas.

How can I use those constants correctly or is it impossible to use user
defined colors at all?

--
cu,
Michael

Replies