Search

Category: Color

There are many ways to specify HTML color codes in C#. The .net framework has a great object for dealing with colors called Color. Here are some of the ways that you can create a Color object. // if you have an HTML string var lightGray = System.Drawing.ColorTranslator.FromHtml(“#D3D3D3”); // if you have 3 hex numbers var lightGray = System.Drawing.Color.FromArgb(0xD3, 0xD3, […]

The C# Color Object is a very convenient way of storing colors in your C# projects. Once you have a Color object you can easily get the RGB and HSB values out of it. Understanding the Color object is important if you are learning to do any C# work that involves colors. Creating Color Objects If you have an HTML […]

C# is a great language to do image processing in. It’s fast and easy to handle complex image manipulations with it. In order to process an image in C# you need to take the following steps: Load an Image File in C# Process the image (see below) Save the Image to a file as either PNG or JPG We will […]

Categories

About Efundies

The goal of efundies.com is to provide the Internet with a collection of fun, free, electronics projects and advice.
Jason Bauer is an owner and programmer for Portforward.com. He's allergic to twitter and facebook, but you can find more of his articles in the Guides section.