Template:Infobox ink: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 10: Line 10:
|-  
|-  
! scope="row" | Hex  
! scope="row" | Hex  
| {{#if:{{{rgb|}}}| <nowiki>#</nowiki>{{uc:{{{hex|}}}}} |}}
| {{#if:{{{rgb|}}}|<nowiki>#</nowiki>{{uc:{{{hex|}}}}}|}}
|-  
|-  
! scope="row" | RGB  
! scope="row" | RGB  
| {{#if:{{{rgb|}}}|
| {{#if:{{{rgb|}}}|({{#rreplace:{{rgb}}|,|, }})|}}
({{#rmatch:{{{rgb|}}}|/^\s*\(?\s*([0-9]{1,3}),\s*(-?[0-9]{1,3}),\s*(-?[0-9]{1,3})\s*\)?$/|$1}}, {{#rmatch:{{{rgb|}}}|/^\s*\(?\s*([0-9]{1,3}),\s*(-?[0-9]{1,3}),\s*(-?[0-9]{1,3})\s*\)?$/|$2}}, {{#rmatch:{{{rgb|}}}|/^\s*\(?\s*([0-9]{1,3}),\s*(-?[0-9]{1,3}),\s*(-?[0-9]{1,3})\s*\)?$/|$3}})
|}}
|-
|-
! scope="row" |CMYK  
! scope="row" |CMYK  

Revision as of 18:18, 3 December 2024

Infobox ink
{{{japanese_name}}}
Color Coordinates
Hex
RGB
CMYK
CIELab
Pantone {{{pantone}}}
Ink Information
Brand Generic
Series {{{series}}}