🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2568

how to convert (C,M,Y) colours to (R,G,B)?

#2568
From: John Grant
Date: Thu, 07 Jan 1993 21:16
10 lines
883 bytes
I have several (C,M,Y) colour palettes that we use in UNIRAS graphics
on the VAX that I want to convert to (R,G,B) palettes for use in Windows.
Can anyone supply the algorithms to convert between these 2 colour
systems.  I have code to convert between (H,L,S) and (R,G,B).
I think the relationship between CMY and RGB is quite simple, because
CMY is subtractive and RGB is additive.
-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
Technical Details
Message-ID: <1993Jan7.211624.27277@emr1.emr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!torn!nott!emr1!jagrant

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!torn!nott!emr1!jagrant
From: jagrant@emr1.emr.ca (John Grant)
Subject: how to convert (C,M,Y) colours to (R,G,B)?
Message-ID: <1993Jan7.211624.27277@emr1.emr.ca>
Organization: Energy, Mines, and Resources, Ottawa
Date: Thu, 7 Jan 1993 21:16:24 GMT
Lines: 10