Translation5:Color
From IDMLWiki
Contents |
カラー
<Color>エレメントはドキュメントで使用されているカラーと対応しており、名称のあるものと、名称未設定のものがあります。Model属性はカラーモデルを、Space属性はカラースペースを指定し、ColorValue属性は、適用されたカラーモデルのカラーを定義する、対応する値の配列を含みます。カラーモデルとカラースペースについての詳細は、InDesignのオンラインヘルプを参照してください。
スキーマの例92 Color
Color_Object = element Color {
attribute Self { xsd:string },
attribute Model { ColorModel_EnumValue }?,
attribute Space { ColorSpace_EnumValue }?,
attribute ColorValue{ list { xsd:double * } }?,
attribute ColorOverride{ ColorOverride_EnumValue }?,
attribute BaseColor{ xsd:string }?,
attribute SpotInkAliasSpotColorReference{ xsd:string }?,
attribute AlternateSpace{ ColorSpace_EnumValue }?,
attribute AlternateColorValue{ list { xsd:double * } }?,
attribute Name { xsd:string },
attribute ColorEditable{ xsd:boolean }?,
attribute ColorRemovable{ xsd:boolean }?,
attribute Visible { xsd:boolean }?,
attribute SwatchCreatorID{ xsd:int }?,
element Properties {element Label { element KeyValuePair{ KeyValuePair_TypeDef }*
}?
}?}
<Swatch>エレメントと共通の属性に加え、<Color>エレメントには次の属性があります。
| 名前 | 値 | 必須 | 説明 |
|---|---|---|---|
| AlternateColorValue | doubleのリスト(スペース区切り) | 変更されたカラー値。<Color>の<ColorValue>は、AlternateSpace属性で設定されたカラースペースの出現順の、連続した値で定義される。AlternateSpaceがNoAlternateColorのときは、空白 | |
| AlternateSpace | ColorSpace_EnumValue | 変更するカラースペース。RGB、CMYK、LAB、MixedInkまたはNoAlternateColor | |
| BaseColor | string | ベースとなるカラー。他のカラーをベースにしないときはn | |
| ColorOverride | ColorOverride_EnumValue | Normal、Specialpaper、Specialblack、Specialregistration、HiddenreservedまたはMixedinkparent。カラースウォッチを他の列挙で定義するときや、デフォルトに設定するときはNormal | |
| ColorValue | doubleのリスト(スペース区切り) | カラースペースの値。RGB:3つ(0-255)/CMYK:4つ(0-100)/LAB:L(0-100)、A、B(各-128-127) | |
| Model | ColorModel_EnumValue | カラーモデル。SpotまたはProcess | |
| Space | ColorSpace_EnumValue | カラースペース。RGB、CMYKまたはLAB | |
| SpotInkAliasSpotColorReference | string | インキエイリアス。インキダイアログボックスにて設定。この属性にはオリジナルの特色インキを含む |
IDMLの例62 プロセスカラー
<Color Self="Color\C=100 M=90 Y=10 K=0" Model="Process" Space="CMYK" ColorValue=" 100 90 10 0" ColorOverride=" Normal" BaseColor=" n" AlternateSpace=" NoAlternateColor" AlternateColorValue="" Name="C=100 M=90 Y=10 K=0" ColorEditable=" true" ColorRemovable=" true" Visible="true" SwatchCreatorID=" 7937"/>
図45 プロセスカラー
IDMLの例63 特色
<Color Self="Color\PANTONE 274 C" Model="Spot" Space="CMYK" ColorValue=" 100 100 0 28" ColorOverride=" Normal" BaseColor=" n" SpotInkAliasSpotColorReference=" n" AlternateSpace=" LAB" AlternateColorValue=" 12.549019607843137 23 -42" Name="PANTONE 274 C" ColorEditable=" true" ColorRemovable=" true" Visible="true" SwatchCreatorID=" 31500"/>
図46 特色
IDMLの例64 LABカラー
<Color Self="Color\L=29 a=64 b=0" Model="Process" Space="LAB" ColorValue=" 29 64 0" ColorOverride=" Normal" BaseColor=" n" AlternateSpace=" NoAlternateColor" AlternateColorValue="" Name="L=29 a=64 b=0" ColorEditable=" true" ColorRemovable=" true" Visible="true" SwatchCreatorID=" 7937"/>



