Git Repository Public Repository

CPE_learningsite

URLs

Copy to Clipboard

This repository has no backups
This repository's network speed is throttled to 100KB/sec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.util
{	
	public final class ColorUtil
	{
		
		/**
		 * Converts an integer (hex) value to an object with separate r, g, 
		 * and b elements.
		 */
		public static function intToRgb( color:int ):Object
		{
			var r:int = ( color & 0xFF0000 ) >> 16;
			var g:int = ( color & 0x00FF00 ) >> 8;
			var b:int = color & 0x0000FF;
			return {r:r, g:g, b:b};
		}
		
	} // end class
} // end package

Commits for CPE_learningsiteCPEFlex/EngagementPod/src/com/util/ColorUtil.as

Diff revisions: vs.
Revision Author Commited Message
4cd176 ... v.shishlov Fri 27 Aug, 2021 14:33:17 +0000

initial commit