# Land Mass Color

**URL:** <https://community.thinkgeo.com/t/land-mass-color/1781>\
**Category:** WinForms\
**Created:** [August 30, 2011, 12:45pm UTC](https://community.thinkgeo.com/t/land-mass-color/1781 "2011-08-30T12:45:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Steven](https://community.thinkgeo.com/u/Steven)\
**Post date:** [August 30, 2011, 12:45pm UTC](https://community.thinkgeo.com/t/land-mass-color/1781/1 "2011-08-30T12:45:10Z")

</div>

Hi,

&nbsp;&nbsp;How&nbsp;can&nbsp;I&nbsp;change&nbsp;the&nbsp;color&nbsp;of&nbsp;the&nbsp;land&nbsp;mass&nbsp;areas&nbsp;(terrain)&nbsp;on&nbsp;a&nbsp;map?&nbsp;&nbsp;I&nbsp;am&nbsp;working&nbsp;to&nbsp;improve&nbsp;the&nbsp;display&nbsp;for&nbsp;color&nbsp;blind&nbsp;users.&nbsp;

Regards,

&nbsp;&nbsp;Steven

---

<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:** [August 31, 2011, 3:34pm UTC](https://community.thinkgeo.com/t/land-mass-color/1781/2 "2011-08-31T15:34:58Z")

</div>

&nbsp;Steven,

&nbsp;  
Thanks&nbsp;for&nbsp;your&nbsp;questions!  
&nbsp;  
You&nbsp;just&nbsp;talked&nbsp;about&nbsp;the&nbsp;color&nbsp;change&nbsp;for&nbsp;area&nbsp;shape?&nbsp;If&nbsp;that,&nbsp;it&nbsp;is&nbsp;easy&nbsp;to&nbsp;do,&nbsp;please&nbsp;refer&nbsp;the&nbsp;LoadAShapeFileFeatureLayer.cs&nbsp;sample&nbsp;in&nbsp;the&nbsp;HowDoISamples,&nbsp;you&nbsp;can&nbsp;see&nbsp;the&nbsp;following&nbsp;code&nbsp;for&nbsp;setting&nbsp;the&nbsp;color&nbsp;of&nbsp;the&nbsp;area&nbsp;shape&nbsp;file:  
&nbsp;

`            worldLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.SimpleColors.Transparent, GeoColor.FromArgb(100, GeoColor.SimpleColors.Green));`&nbsp;&nbsp;You&nbsp;can&nbsp;change&nbsp;the&nbsp;color&nbsp;easily&nbsp;in&nbsp;the&nbsp;CreateSimpleAreaStyle&nbsp;method,there&nbsp;are&nbsp;two&nbsp;parameters&nbsp;to&nbsp;set&nbsp;the&nbsp;color,&nbsp;the&nbsp;first&nbsp;parameter&nbsp;is&nbsp;for&nbsp;fill&nbsp;brush&nbsp;color&nbsp;and&nbsp;the&nbsp;second&nbsp;parameter&nbsp;is&nbsp;for&nbsp;outer&nbsp;line&nbsp;pen&nbsp;color.

If&nbsp;I&nbsp;misunderstood&nbsp;anything&nbsp;please&nbsp;tell&nbsp;me&nbsp;the&nbsp;detail&nbsp;again,

Thanks,

Scott,
