FunColors 1.0.2

dotnet add package FunColors --version 1.0.2
                    
NuGet\Install-Package FunColors -Version 1.0.2
                    
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="FunColors" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FunColors" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="FunColors" />
                    
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 FunColors --version 1.0.2
                    
#r "nuget: FunColors, 1.0.2"
                    
#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 FunColors@1.0.2
                    
#: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=FunColors&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=FunColors&version=1.0.2
                    
Install as a Cake Tool

Welcome to Fun Colors!

APPARENTLY you can't just add new named colors to .NET MAUI. But who can remember the elusive hex code of .NET's brand purple or the light blue of the old Xamagon? Not me!

Current Colors:

Color Swatches

To use this library, just add using FunColors; to your file (preferably your global usings, because we're modern here). Then, you can set the color anywhere using FunColor.DotNetPurple2024 etc. You can also add using static FunColors.FunColor; if you want to type just the color name DotNetPurple2024.

If you want to use it in XAML, add xmlns:fun="clr-namespace:FunColors;assembly=FunColors" to your file, then reference the colors using color={x:Static fun:FunColor.DotNetPurple2024}. It would be prettier if you did this in your Colors.xaml and just used whatever pretty name you give it throughout!

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 607 9/17/2024
1.0.1 189 9/9/2024
1.0.0 182 9/6/2024

Swatches + Elmo!