Custom Color of a RichEdit

I want the light yellow color $0080FFFF as the color of a RichEdit. On a
256 color system this turns into grey. I then try to make a palette with
this color (  setting the palPalEntry values, CreatePalette,
SelectPalette, RealizePalette), but still can't get the right color. Any