1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-08-13 16:53:59 -04:00
Simba/Tests/PS/colour conversions.mufa
Raymond 1e1c08e5a4 Fixed the color conversions (RGB-values should be Bytes, not integers.. IMO), oh and it was taking the wrong methods (from graphics.pas instead of colour_conv.pas)
Added testscript for colour conversions, but I cbf to finnish it.
Changed the export limit! We are already exporting more than 200 methods, win!

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@427 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 13:38:45 +00:00

10 lines
183 B
Plaintext

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.