Microsoft KB Archive/138841

PPT: Matching PowerPoint Colors to Colors in Other Programs

PSS ID Number: Q138841 Article last modified on 05-16-1998

macintosh:3.0,3.0b,4.0; windows:3.0,4.0,4.0a,4.0c

MACINTOSH WINDOWS

================================================================ ==

The information in this article applies to:

 Microsoft PowerPoint for Macintosh, versions 3.0, 3.0b, 4.0 Microsoft PowerPoint for Windows, versions 3.0, 4.0, 4.0a, 4.0c == Microsoft Graph for Windows, versions 3.0, 5.0 == 

= SUMMARY =

When you match a color from a third-party program to a color in PowerPoint, you may need to convert the color’s values to the equivalent PowerPoint color values. This article includes conversion tables to convert between PowerPoint RGB, Standard RGB, and Apple RGB.

= MORE INFORMATION =

RGB stands for red, green, and blue. You can specify a color by giving a value for each of these three components.

PowerPoint uses a scale where the R, G, and B values are all numbers between 0 and 65535 inclusive (48-bit color). Many other programs, including Microsoft Graph for Windows, use a scale where the R, G and B values are all numbers between 0 and 255 inclusive (24-bit color). Apple has yet another scale where the R, G, and B values are all numbers between 1 and 100 inclusive (24-bit percentage color).

You can convert between one scale and another by applying common mathematical operation to each of the R, G, and B components.

PowerPoint (48-bit) RGB to Standard (24-bit) RGB
Divide the PowerPoint RGB values by 256 to get the corresponding Standard RGB values. For example:

PowerPoint RGB Standard RGB —————————————

R: 4608      /256 =       R:  18 G: 5120      /256 =       G:  20 B: 64768     /256 =       B: 253

Standard (24-bit) RGB to PowerPoint (48-bit) RGB
Multiply the Standard RGB values by 256 to produce the corresponding PowerPoint values. For example:

Standard RGB PowerPoint RGB —————————————-

R: 18      *256 =       R:  4608 G: 20      *256 =       G:  5120 B: 253     *256 =       B: 64768

Apple (Percentage) RGB to Standard (24-bit) RGB
Multiply the percentage by 256 then divide the total by 100. For example:

Apple RGB Standard —————————————-

R: 38 * 256 =  9728   /100 =   R: 97 G: 56 * 256 = 14336   /100 =   G:143 B: 34 * 256 =  8704   /100 =   B: 87

Standard (24-bit) RGB to Apple (Percentage) RGB
Multiply the RGB value by 100 then divide by 256. For example:

Standard RGB Apple RGB —————————————-

R: 53  * 100 =  5300   /256 =   R:21 G: 103 * 100 = 10300   /256 =   G:40 B: 67  * 100 =  6700   /256 =   B:26

Apple (Percentage) RGB to PowerPoint (48-bit) RGB
Multiply the percentage by 65536 then divide the total by 100. For example:

Apple RGB PowerPoint ————————————————

R: 38 * 65536 = 2490368   /100 =   R:24904 G: 56 * 65536 = 3670016   /100 =   G:36700 B: 34 * 65536 = 2228224   /100 =   B:22282

PowerPoint (48-bit) RGB to Apple (Percentage) RGB
Multiply the RGB value by 100 then divide by 65536. For example:

PowerPoint RGB Apple RGB ————————————————

R: 24904 * 100 = 2490400   /65536 =   R:38 G: 36700 * 100 = 3670000   /65536 =   G:56 B: 22282 * 100 = 2228200   /65536 =   B:34 = Additional query words: 4.00 w_powerpt m_powerpt kbdisplay kbprint =

Keywords : kbdisplay kbenv kbinterop kbprint kbdta kbconversion Version : macintosh:3.0,3.0b,4.0; windows:3.0,4.0,4.0a,4.0c Platform : MACINTOSH WINDOWS Hardware : MAC x86 Issue type : kbinfo ============================================================================= Copyright Microsoft Corporation 1998.