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/HexToString - 16 進数文字列で色の名前を検索
使い方
HexToString(hex)
パラメータ
hex
-
:文字列: : 色を表す 16 進数コード (#rrggbb または rrggbb)
説明
HexToString プロシージャは、16 進数コードの値を翻訳された色の名前に変換します (Maplets コンテキストの現在のロケールに基づく)。new フラグの動作は次のとおりです : new=true: 新規色の名前のみを検索。new=false: 既存色の名前のみを検索。new=undefined: 新規色と既存色の両方を検索。デフォルト値を指定した場合は、一致する結果がなかったときにその値が出力されます。それ以外の場合はエラーが出力されます。
オプション
new : ブール値、出力を新規色の名前 (true)、既存色の名前 (false)、制約なし (unspec) に設定するフラグ。
default : 文字列; 一致が見つからなかった場合に出力するデフォルト値。
互換性
ColorTools/HexToString コマンドは Maple 16 で導入されました。
Maple 16 における変更点についての詳細は、Maple 16 の新機能 を参照してください。
例
with(ColorTools):
HexToString("#00FF00");
HexToString("#0F0", new=false);
HexToString("FF0000");
HexToString("F00");
HexToString("I like cat videos");
Error, (in ColorTools:-HexToString) invalid hex color value: I like cat videos
参照
ColorTools/HexToRGB24
Download Help Document