<PackageReference Include="System.Drawing.Common" Version="9.0.7" />

ColorTranslator

public static class ColorTranslator
using System.Runtime.CompilerServices; namespace System.Drawing { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public static class ColorTranslator { public static Color FromHtml(string htmlColor) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static Color FromOle(int oleColor) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static Color FromWin32(int win32Color) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static string ToHtml(Color c) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static int ToOle(Color c) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static int ToWin32(Color c) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }