exchangepopla.blogg.se

Rbg 255 255 255
rbg 255 255 255

















rbg 255 255 255rbg 255 255 255

Number in the range 0–255, inclusive, that represents the blue component of the color.Application methods and properties that accept a color specification expect that specification to be a number representing an RGB color value. Number in the range 0–255, inclusive, that represents the green component of the color.Required Variant ( Integer). Number in the range 0–255, inclusive, that represents the red component of the color.Required Variant ( Integer).

The object MyObject and its property are used for illustration purposes only. It is used for those application methods and properties that accept a color specification. ExampleThis example shows how the RGB function is used to return a whole number representing an RGB color value. They may be used within the context of Microsoft applications for the Macintosh, but should not be used when communicating color changes directly to the Macintosh operating system.

Functions (Visual Basic for Applications)Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. Dim Red, I, RGBValue, MyObjectRed = RGB(255, 0, 0) ' Return the value for Red.RGBValue = RGB(I, 64 + I, 128 + I) ' Same as RGB(75, 139, 203).MyObject.Color = RGB(255, 0, 0) ' Set the Color property of MyObject to Red.

rbg 255 255 255