Hi @Ashish xor ,
tldr;
The color derives from the <a:dk2 />
, which in the xml from your post it is 134770.
The details
The gradient color is defined in the <a:schemeClr />
element children of the <a:gradFill />
element in the theme xml part. In the xml from your post it is defined as phClr
. phClr (Style Color) is a color used in theme definitions which means to use the color of the style. The color of the style is defined in the slideMaster xml part in its <p:bg />
element. In the slideMaster's xml. It will look similar to this:
<p:bg>
<p:bgRef idx="1003">
<a:schemeClr val="bg2"/>
</p:bgRef>
</p:bg>
In this example the color is set to bg2
. In the same slideMaster xml part there is a <p:clrMap />
element that specifies the mapping layer that transforms one color scheme definition to another. It will look similar to this:
<p:clrMap bg1="dk1" tx1="lt1" bg2="dk2" tx2="lt2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>
In this example we see bg2="dk2"
, so its value corresponds to dk2. To find the value of dk2, go back to the theme xml part and look at the <a:clrScheme />
element, which in the xml from your post is:
<a:clrScheme name="Circuit">
<a:dk1>
<a:sysClr val="windowText" lastClr="000000"/>
</a:dk1>
<a:lt1>
<a:sysClr val="window" lastClr="FFFFFF"/>
</a:lt1>
<a:dk2>
<a:srgbClr val="134770"/>
</a:dk2>
<a:lt2>
<a:srgbClr val="82FFFF"/>
</a:lt2>
<a:accent1>
<a:srgbClr val="9ACD4C"/>
</a:accent1>
<a:accent2>
<a:srgbClr val="FAA93A"/>
</a:accent2>
<a:accent3>
<a:srgbClr val="D35940"/>
</a:accent3>
<a:accent4>
<a:srgbClr val="B258D3"/>
</a:accent4>
<a:accent5>
<a:srgbClr val="63A0CC"/>
</a:accent5>
<a:accent6>
<a:srgbClr val="8AC4A7"/>
</a:accent6>
<a:hlink>
<a:srgbClr val="B8FA56"/>
</a:hlink>
<a:folHlink>
<a:srgbClr val="7AF8CC"/>
</a:folHlink>
</a:clrScheme>
In this there is:
<a:dk2>
<a:srgbClr val="134770"/>
</a:dk2>
And here dk2 (which corresponds to the value of phClr, which defines the gradient) is defined as 134770. So, 134770 is the color the gradient is based on.
Best Regards, Michael Bowen Senior Escalation Engineer - Microsoft Open Specifications