setFillColor https://code.coronalabs.com/taxonomy/term/92/all en Retrieve named colors (Hex) and convert to RGB https://code.coronalabs.com/code/retrieve-named-colors-hex-and-convert-rgb <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>A simple helper I wrote so I could reference the same colours throughout my app more easily.</p> <p>I have a color pallette for my app with named colours which I can refer to whenever I need to set the colour for something.</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">moollaza</div></div></div> Sat, 17 Oct 2015 02:31:32 +0000 uncovr 189 at https://code.coronalabs.com rgb https://code.coronalabs.com/code/rgb <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Use color names instead of numbers</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">jstrahan</div></div></div> Sun, 09 Mar 2014 18:08:39 +0000 Anonymous 87 at https://code.coronalabs.com dmc_kompatible – easily get legacy G1.0 code to run in G2.0 https://code.coronalabs.com/code/dmckompatible-%E2%80%93-easily-get-legacy-g10-code-run-g20 <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>dmc_kompatible is a Lua module which allows your legacy Corona code written for Graphics 1.0 to run in the new Corona Graphics 2.0 engine within minutes and with minor modifications.</p> <p>it overrides the necessary methods (setReferencePoint, setFillColor, setTextColor, etc) so that your code can continue to run.</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">dmccuskey</div></div></div> Wed, 05 Feb 2014 04:15:38 +0000 Anonymous 66 at https://code.coronalabs.com