ColorFromRgb Method

Returns new color object by RGB model.
Namespace:  Teigha.Colors
Assembly:  TD_Mgd (in TD_Mgd.dll) Version: 21.4.0.0
Syntax
public static Color FromRgb(
        byte red,
        byte green,
        byte blue
)

Parameters

red
Type: SystemByte
Red component value from 0 to 255.
green
Type: SystemByte
Green component value from 0 to 255.
blue
Type: SystemByte
Blue component value from 0 to 255.

Return Value

Type: Color
Color object.
See Also

©  Bricsys NV. All rights reserved.