🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Ocl hex to dec
(Automatically adding template at the end of the page.)
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}
  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 22:27, 16 June 2024

This page was created by Hans.karlsen on 2021-02-09. Last edited by Edgar on 2025-01-20.

Write the content here to display this box

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