Method to add value attribute and its value in hexadecimal format. It creates the HTML element specified by tagName. If you want to use the HTML editing features in your product or programmatically add a color picker, see the C# code example below:
You can modify the document by appending new elements, removing, or editing the content of existing nodes. You can generate an HTML color input tag and color picker C# code by selecting attributes such as name and value.ĪPI supports a set of HTML elements that are defined in HTML Standard, along with rules about how the elements can be nested. If you don’t specify a value, the default is #000000, which means black. The value must be in seven-character hexadecimal notation.
Only simple colors without alpha channel are allowed to use. An initial color can be specified with the value attribute which accepts hex color values.