Web UI component: Tangular-Color


  • Info
  • HTML
  • JS
  • CSS
  • Meta

Tangular-Color

A simple Tangular template engine helper for rendering colors from the string.

Usage:

<h1 style="color:{{ name | color }}">{{ name }}</h1>
<div style="color:{{ username | color }}">{{ username }}</div>