Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
ColorTools/RGB24ToName - 24 ビットのカラー値で色の名前を検索
使い方
RGB24ToName(rgb)
パラメータ
rgb
-
list; [r,g,b] カラー値。0-255 の整数
説明
RGB24ToName プロシージャは、RGB カラー値を色の名前に変換します。new フラグの動作は次のとおりです : new=true: 新規色の名前のみを検索。new=false: 既存色の名前のみを検索。new=undefined: 新規色と既存色の両方を検索。デフォルト値を指定した場合は、一致する結果がなかったときにその値が出力されます。それ以外の場合はエラーが出力されます。
オプション
new : ブール値、出力を新規色の名前 (true)、既存色の名前 (false)、制約なしに設定するフラグ。
default : string; 一致が見つからなかった場合に出力するデフォルト値。
互換性
ColorTools/RGB24ToName コマンドは Maple 16 で導入されました。
Maple 16 における変更点についての詳細は、Maple 16 の新機能 を参照してください。
例
with(ColorTools):
RGB24ToName([0, 255, 0]);
RGB24ToName([0, 255, 0], new=false);
RGB24ToName([255, 0, 0]);
RGB24ToName("I like cat videos");
Error, invalid input: ColorTools:-RGB24ToName expects its 1st argument, rl, to be of type list(integer), but received I like cat videos
参照
ColorTools
Download Help Document