Table of Contents

Method GetNearestColor

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetNearestColor(Color)

Returns the closest color in Palette that matches toTranslate based on the color comparison algorithm defined by DistanceAlgorithm

public int GetNearestColor(Color toTranslate)

Parameters

toTranslate Color

Returns

int