OfficeIMO

API Reference

Class

ColorNameResolver

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word

Provides utilities for resolving Color instances to their named equivalents.

Inheritance

  • Object
  • ColorNameResolver

Constructors

public ColorNameResolver() #

Methods

public static String GetColorName(Color color) #
Returns: String

Returns the standard color name for the specified Color, or the RGBA value if no name exists.

Parameters

color SixLabors.ImageSharp.Color requiredposition: 0
The color to resolve.

Returns

The color name or RGBA string.