Code: Select all
Magick::ColorRGB color( 255 , 128 , 64 );
cout<<color.red()<<" ";
cout<<color.redQuantum()<<endl;
cout<<color.green()<<" ";
cout<<color.greenQuantum()<<endl;
cout<<color.blue()<<" ";
cout<<color.blueQuantum()<<endl;
0.996124 65281
0.998062 65408
0.999039 65472
There is no value like 255, 128, 64.