# GeoColor and AreaStyle

**URL:** <https://community.thinkgeo.com/t/geocolor-and-areastyle/1134>\
**Category:** WinForms\
**Created:** [April 6, 2010, 4:28pm UTC](https://community.thinkgeo.com/t/geocolor-and-areastyle/1134 "2010-04-06T16:28:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter6](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/p/e5b9ba/32.png) [@Peter6](https://community.thinkgeo.com/u/Peter6)\
**Post date:** [April 6, 2010, 4:28pm UTC](https://community.thinkgeo.com/t/geocolor-and-areastyle/1134/1 "2010-04-06T16:28:37Z")

</div>

Can&nbsp;I&nbsp;create&nbsp;a&nbsp;custom&nbsp;area&nbsp;styles&nbsp;based&nbsp;on&nbsp;any&nbsp;red,&nbsp;greed,&nbsp;or&nbsp;blue&nbsp;number&nbsp;or&nbsp;am&nbsp;I&nbsp;limited&nbsp;to&nbsp;colors&nbsp;defined&nbsp;as&nbsp;GeoColors?

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [April 6, 2010, 9:23pm UTC](https://community.thinkgeo.com/t/geocolor-and-areastyle/1134/2 "2010-04-06T21:23:24Z")

</div>

Peter,

Thanks&nbsp;for&nbsp;your&nbsp;post.

I&nbsp;think&nbsp;you&nbsp;missed&nbsp;2&nbsp;important&nbsp;APIsJ.  
_AreaStyles.CreateSimpleAreaStyle;_  
_GeoColor.FromArgb_  
&nbsp;  
First&nbsp;one&nbsp;can&nbsp;let&nbsp;you&nbsp;create&nbsp;your&nbsp;own&nbsp;area&nbsp;styles&nbsp;by&nbsp;giving&nbsp;outline&nbsp;color&nbsp;,&nbsp;fill&nbsp;color&nbsp;etc&nbsp;parameters,&nbsp;also,&nbsp;you&nbsp;can&nbsp;create&nbsp;some&nbsp;advanced&nbsp;style&nbsp;by&nbsp;calling&nbsp;CreateHueFamilyLinearGradientAreaStyle&nbsp;etc.&nbsp;The&nbsp;second&nbsp;one&nbsp;give&nbsp;you&nbsp;opportunity&nbsp;to&nbsp;create&nbsp;a&nbsp;color&nbsp;by&nbsp;give&nbsp;alpha,&nbsp;red,&nbsp;green,&nbsp;blue&nbsp;components&nbsp;,&nbsp;also,&nbsp;you&nbsp;can&nbsp;create&nbsp;color&nbsp;by&nbsp;giving&nbsp;html,&nbsp;ole&nbsp;etc.  
&nbsp;  
Any&nbsp;more&nbsp;questions&nbsp;just&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
&nbsp;  
Thanks.  
&nbsp;  
Yale
