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/RGB24ToHex
使い方
RGB24ToHex(rgb)
RGB24ToHex(rgb, omitoctothorpe)
パラメータ
rgb
-
list; [r,g,b] カラー値。0-255 の整数
説明
RGB24ToHex プロシージャは、RGB 値を 16 進数コードに変換します。入力が有効な RGB 値のリストでない場合は、エラーが返されます。
返される値は、数値と大文字を使用した "#rrggbb" または "rrggbb" 形式で色を表す 6 桁の 16 進数コードです。
オプション
omitoctothorpe : このキーワードを指定した場合、出力文字列の前にシャープ記号 (#) が付きません。
互換性
ColorTools/RGB24ToHex コマンドは Maple 16 で導入されました。
Maple 16 における変更点についての詳細は、Maple 16 の新機能 を参照してください。
例
with(ColorTools):
RGB24ToHex([0,255,0]);
RGB24ToHex(HexToRGB24("#badcab"), 'omitoctothorpe');
参照
ColorTools[HexToRGB24]
Download Help Document