NeoKolors.Common
0.25.5
See the version list below for details.
dotnet add package NeoKolors.Common --version 0.25.5
NuGet\Install-Package NeoKolors.Common -Version 0.25.5
<PackageReference Include="NeoKolors.Common" Version="0.25.5" />
<PackageVersion Include="NeoKolors.Common" Version="0.25.5" />
<PackageReference Include="NeoKolors.Common" />
paket add NeoKolors.Common --version 0.25.5
#r "nuget: NeoKolors.Common, 0.25.5"
#:package NeoKolors.Common@0.25.5
#addin nuget:?package=NeoKolors.Common&version=0.25.5
#tool nuget:?package=NeoKolors.Common&version=0.25.5
NeoKolors.Common
The NeoKolors.Common namespace includes these classes:
ColorFormat
Exposes methods for color format conversion.
Example use:
Color c = Color.FromArgb(255, 255, 255);
(double h, double s, double v) HSV = ColorFormat.ColorToHsv(c);
// hsv : 1, 1, 1
ColorPalette
Stores color palettes. You can also generate new ones with the GeneratePalette method.
Example use:
ColorPalette cp = ColorPalette.GeneratePalette(seed: 5, colorCount: 7);
cp.PrintPalette();
this program will output the following colors:
#CCBDA1 #BDA260 #AC4A5F #9AF19E #86D40A #720587 #5D66F1
StringEffects
Methods that add color and other effect characters to the string
Example usage:
// this will add special effects to the string
string s = StringEffects.AddTextStyles(
"<b>bold</b>\n" +
"<i>italic</i>\n" +
"<u>underline</u>\n" +
"<f>faint</f>\n" +
"<u>underline</u>\n" +
"<n>inverse</n>\n" +
"<s>strikethrough</s>"
);
// the following will add a color to the string:
string s = StringEffects.AddColor("this text will be colored!", 0x5D66F1);
This class also includes the VisibleLength() method that returns the length of actually visible
characters.
string s = StringEffects.AddTextStyles("<b>bold</b>");
s.Length; // returns 13
s.VisibleLength(); // returns 4
Color
A class that can store both the ConsoleColor and custom color as an Int32
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
NuGet packages (12)
Showing the top 5 NuGet packages that depend on NeoKolors.Common:
| Package | Downloads |
|---|---|
|
NeoKolors.Console
basic console / logging utilites |
|
|
NeoKolors.Settings
Package Description |
|
|
NeoKolors.Tui
Package Description |
|
|
NeoKolors.Tui.Core
Package Description |
|
|
NeoKolors.Tui.Fonts
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.4.0-preview.4 | 100 | 11/15/2026 |
| 2026.4.0-preview.3 | 123 | 11/1/2026 |
| 2026.4.0-preview.2 | 113 | 10/30/2026 |
| 2026.4.0-preview.1 | 118 | 10/23/2026 |
| 2026.2.0-rc2 | 216 | 6/8/2026 |
| 2026.2.0-rc1 | 205 | 6/2/2026 |
| 2026.1.0-rc2 | 190 | 2/27/2026 |
| 2026.1.0-rc1 | 179 | 2/25/2026 |
| 1.0.0-rc1 | 578 | 7/24/2025 |
| 0.25.22 | 341 | 5/26/2025 |
| 0.25.20 | 481 | 5/13/2025 |
| 0.25.19.1 | 257 | 5/6/2025 |
| 0.25.18.1 | 304 | 5/4/2025 |
| 0.25.16 | 364 | 4/16/2025 |
| 0.25.14.2 | 375 | 4/2/2025 |
| 0.25.14.1 | 387 | 4/2/2025 |
| 0.25.14 | 376 | 4/1/2025 |
| 0.25.12 | 360 | 3/19/2025 |
| 0.25.10 | 323 | 3/3/2025 |
| 0.25.5 | 278 | 1/28/2025 |