CCSWE.nanoFramework.Graphics 1.1.154

There is a newer version of this package available.
See the version list below for details.
dotnet add package CCSWE.nanoFramework.Graphics --version 1.1.154
                    
NuGet\Install-Package CCSWE.nanoFramework.Graphics -Version 1.1.154
                    
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.154" />
                    
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.154" />
                    
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.154
                    
#r "nuget: CCSWE.nanoFramework.Graphics, 1.1.154"
                    
#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.154
                    
#: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.154
                    
Install as a Cake Addin
#tool nuget:?package=CCSWE.nanoFramework.Graphics&version=1.1.154
                    
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

Scale brightness.

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

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

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.161 113 10/11/2026
1.1.159 116 10/10/2026
1.1.158 102 10/10/2026
1.1.155 96 10/10/2026
1.1.154 108 10/10/2026
1.1.153 93 10/10/2026
1.1.148 200 8/3/2026
1.1.147 138 7/31/2026
1.1.146 127 7/31/2026
1.1.145 150 7/17/2026
1.1.144 127 7/14/2026
1.1.143 145 7/11/2026
1.1.142 153 7/1/2026
1.1.141 142 6/30/2026
1.1.140 145 6/26/2026
1.1.139 145 6/24/2026
1.1.138 125 6/24/2026
1.1.137 136 6/24/2026
1.1.136 148 6/23/2026
1.1.135 147 6/1/2026
Loading failed