1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-18 13:32:19 -05:00
Simba/Tests/PS/colour conversions.simba

10 lines
183 B
Plaintext
Raw Normal View History

2010-04-09 16:02:20 -04:00
program new;
var
R,G,B : byte;
begin
ColorToRGB(clwhite,r,g,b);
Writeln([r,g,b]);
Writeln(RGBToColor(50,150,250));//16422450
writeln(XYZToColor(0.5,0.7,0.9));//1513219
end.