Color64FromRgb(UInt64) Method
Creates a
Color64 structure from a 48-bit RGB value. The highest two bytes of the specified integer are ignored
and the
A property of the result will be 65535.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.1
[CLSCompliantAttribute(false)]
public static Color64 FromRgb(
ulong rgb
)
<CLSCompliantAttribute(false)>
Public Shared Function FromRgb (
rgb As ULong
) As Color64
public:
[CLSCompliantAttribute(false)]
static Color64 FromRgb(
unsigned long long rgb
)
[<CLSCompliantAttribute(false)>]
static member FromRgb :
rgb : uint64 -> Color64
- rgb UInt64
- A value specifying the 48-bit RGB value. As a hex value it can be specified as 0xRRRR_GGGG_BBBB.
The possibly nonzero alpha component will be ignored.
Color64A
Color64 structure from a 48-bit RGB value.