NevronOpenVision
Nevron.Nov.Graphics Namespace / NColor Structure / ParseHex Method
In This Topic
    ParseHex Method
    In This Topic
    Create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). Throws an exception if the parsing fails.
    Syntax
    public static NColor ParseHex( 
       System.string str
    )

    Parameters

    str

    Return Value

    The resulting color.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also