Can I get a color code like this?

I need to get a certain number code from the Delphi colors like so:

Delphi                                  I need
=====                                   ======
red = 255                               red = -16776960

ash
abass at iname dot com