Share via


ColorUtility.ColorFromRGB Method

Builds a Color object from red, green, and blue values.

Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public static Color ColorFromRGB (
         byter,
         byteg,
         byteb
)

Parameters

  • r
    The red value.
  • g
    The green value.
  • b
    The blue value.

Return Value

A color with the specified red, green, and blue values.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

ColorUtility Class
ColorUtility Members
Microsoft.SPOT.Presentation.Media Namespace