Scratch for Java

Color::fromARGB()

A colour from a packed ARGB number, as toARGB() gives it.

Syntax

Java

.fromARGB(argb)

Parameters

Name Data Type Description
argb int alpha, red, green and blue in one int

Return

Color

fromARGB()

Create Shareable URL

Select Sections