Grayscale RGB values


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.11.09.357
 Environment: N/A
 Area: Printing
 Subarea: 
 Original Author:Todd Combs, Bentley Technical Support Group
  

 

 

 

 

 

 

 

Problem Description

How is the RGB value calculated when using “Print in grayscale” color mapping in a pltcfg? In other words, if color 4 (255,255,0) is mapped to “Print in grayscale” what gray RGB value is used?

Steps to Resolve

When using grayscale color mapping the following industry-standard grayscale conversion formula is used:

30% red + 59% green + 11% blue.

For example: color 4 (255,255,0) converts to 76.5 + 150.45 + 0 = 226.95 which is (226.95,226.95,226.95), rounded to (227,227,227)

Same applies when using the “Grayscale” color setting in the Print Dialog.