ColorFromRgb Method

Returns new color object by RGB model.

Namespace: Teigha.Colors
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public static Color FromRgb(
        byte red,
        byte green,
        byte blue
)

Parameters

red  Byte
Red component value from 0 to 255.
green  Byte
Green component value from 0 to 255.
blue  Byte
Blue component value from 0 to 255.

Return Value

Color
Color object.
See Also

©  Bricsys NV. All rights reserved.