Telerik UI for ASP.NET Core ColorGradient Overview

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
index.cshtml
IndexController.cs
Index_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API
devcraft ninja image

The ColorGradient component is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for ASP.NET Core ColorGradient renders a gradient (a hue and an alpha slider) and inputs to manually enter a desired color.

The ColorGradient control is part of Telerik UI for ASP.NET Core, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The Telerik UI for ASP.NET Core ColorGradient is a server-side wrapper for the Kendo UI for jQuery ColorGradient component and supports an HtmlHelper and a TagHelper mode.

This example demonstrates a configuration for the ColorGradient in a real-world style scenario.

Functionality and Features

  • Formats—The component supports RGB and HEX formats.
  • Contrast Tool—A tool for checking the color contrast ratio between two colors.
  • Accessibility—The ColorGradient is accessible for screen readers and supports WAI-ARIA attributes.
  • Keyboard Navigation—The ColorGradient supports a number of keyboard shortcuts for processing various commands.

Additional Apps

This ColorGradient example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources