Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
ColorTools/NearestNamedColor - 名前と最も近い色を出力
使い方
NearestNamedColor(color)
パラメータ
color
-
ColorTools で使用できる色形式
説明
このコマンドは、入力色に最も近い色の名前 (1 つまたは複数) を出力します。
1 つまたは複数の色の名前と、入力色からの距離を出力します。結果が 1 つだけの場合は、最も近い色 1 つと指定した計量 (デフォルトは cie94) での距離が出力されます。
出力が複数の場合は、出力は色とその距離のリストになります (色が近い順)。
オプション
metric=string または name : 使用する色距離のタイプ
new = truefalse : palette を指定しない場合に GetColorNames に渡されるオプション
number = posint : 出力する近接色の最大数
palette : パレットまたはパレット名。パレットまたはパレット名の一覧、または "all"
threshold = float : 最大距離。number を指定しない場合は、この値よりも近いすべての結果を出力します。
互換性
ColorTools/NearestNamedColor コマンドは Maple 16 で導入されました。
Maple 16 における変更点についての詳細は、Maple 16 の新機能 を参照してください。
例
with(ColorTools):
NearestNamedColor([255, 16, 0]);
NearestNamedColor([255, 16, 0], metric="RGB");
NearestNamedColor("#f10", new=false);
NearestNamedColor("#f10", number=3, palette=["css", GetPalette("niagara")]);
NearestNamedColor("#cab", number=3, palette="all");
参照
ColorTools/Color、ColorTools/ColorFormats、ColorTools/Distance
Download Help Document