CCSWE.nanoFramework.Graphics 1.1.135

dotnet add package CCSWE.nanoFramework.Graphics --version 1.1.135
                    
NuGet\Install-Package CCSWE.nanoFramework.Graphics -Version 1.1.135
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CCSWE.nanoFramework.Graphics" Version="1.1.135" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CCSWE.nanoFramework.Graphics" Version="1.1.135" />
                    
Directory.Packages.props
<PackageReference Include="CCSWE.nanoFramework.Graphics" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CCSWE.nanoFramework.Graphics --version 1.1.135
                    
#r "nuget: CCSWE.nanoFramework.Graphics, 1.1.135"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CCSWE.nanoFramework.Graphics@1.1.135
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CCSWE.nanoFramework.Graphics&version=1.1.135
                    
Install as a Cake Addin
#tool nuget:?package=CCSWE.nanoFramework.Graphics&version=1.1.135
                    
Install as a Cake Tool

Build License NuGet

CCSWE.nanoFramework.Graphics

Color utility library for .NET nanoFramework. Provides color conversion, brightness scaling, and a color wheel — usable independently of any LED hardware driver.

API

ColorConverter

Convert between RGB, HSB, and HSL color spaces, and scale brightness.

// Scale brightness (0.0 = off, 1.0 = full brightness)
Color dimRed = ColorConverter.ScaleBrightness(Color.Red, 0.5f);

// Convert to HSB and back
HsbColor hsb = ColorConverter.ToHsbColor(Color.Red);
Color rgb = ColorConverter.ToColor(hsb);

ColorWheel

A 255-step color wheel that cycles smoothly through red → green → blue → red. Useful for rainbow animations.

// position: 0–255
Color c = ColorWheel.GetColor(position);

ColorExtensions

Convert a System.Drawing.Color to a byte array in any System.Drawing.ColorOrder (Rgb, Bgr, Grb, etc.).

byte[] bytes = color.ToBytes(ColorOrder.Grb);
Product Compatible and additional computed target framework versions.
.NETnanoFramework netnano1.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CCSWE.nanoFramework.Graphics:

Package Downloads
CCSWE.nanoFramework.NeoPixel

A fast ESP32 RMT library for controlling LED chipsets (NeoPixel, WS2812B, etc.).

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on CCSWE.nanoFramework.Graphics:

Repository Stars
nanoframework/Samples
🍬 Code samples from the nanoFramework team used in testing, proof of concepts and other explorational endeavours
Version Downloads Last Updated
1.1.135 112 6/1/2026
1.1.134 98 6/1/2026
1.1.133 97 6/1/2026
1.1.130 102 5/31/2026
1.1.129 126 4/23/2026
1.1.128 103 4/23/2026
1.1.127 130 4/15/2026
1.1.124 113 4/15/2026
1.1.123 104 4/14/2026
1.1.122 108 4/13/2026
1.1.117 141 4/13/2026
1.1.114 152 4/10/2026
1.1.113 136 4/10/2026
1.1.112 145 4/9/2026
1.1.104 142 4/8/2026
1.1.103 142 4/8/2026
1.1.101 138 4/7/2026
1.1.100 139 4/7/2026
1.1.99 102 4/7/2026