🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Ocl hex to dec
(Adding message template to the top of the page)
(Replacing message template with parser tag)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
  let parts='#e66465'.tolower.ToCharArray->collect(c|'#123456789abcdef'->tochararray->indexof0(c)) in(
  let parts='#e66465'.tolower.ToCharArray->collect(c|'#123456789abcdef'->tochararray->indexof0(c)) in(
   (parts.at0(1)*16+parts.at0(2))*256*256+
   (parts.at0(1)*16+parts.at0(2))*256*256+

Revision as of 07:53, 17 June 2024

This page was created by Hans.karlsen on 2021-02-09. Last edited by Edgar on 2025-01-20.
let parts='#e66465'.tolower.ToCharArray->collect(c|'#123456789abcdef'->tochararray->indexof0(c)) in(
  (parts.at0(1)*16+parts.at0(2))*256*256+
  (parts.at0(3)*16+parts.at0(4))*256+
  (parts.at0(5)*16+parts.at0(6))
)

Convert hex to rgb color:

let parts='#e66465'.tolower.ToCharArray->collect(c|'#123456789abcdef'->tochararray->indexof0(c)) in
(
(parts.at0(1)*16+parts.at0(2)).ToString()+','+
(parts.at0(3)*16+parts.at0(4)).ToString()+','+
(parts.at0(5)*16+parts.at0(6)).ToString()
)
MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments