MindFusion.Charting for JavaScript Programmer's Guide
Color.fromArgb Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Creates a Color instance from alpha, red, green and blue values.

Namespace: MindFusion.Drawing
File: Color.js

## Syntax

JavaScript Copy Code
function fromArgb (alpha, red, green, blue)

### Parameters

alpha

  Type: Number
  The alpha value.

red

  Type: Number
  The red value.

green

  Type: Number
  The green value.

blue

  Type: Number
  The blue value.

### Return Value

Type: Color
The new Color instance.

## See Also

Color Members
Color Class
MindFusion.Drawing Namespace