top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Convert Hex Color Value To HTML Color using RoR

+1 vote
38 views

I'm new to RoR, and I followed and implemented the beginner Ruby On Rails Tutorial (2nd Edition) code, and its working great. For those who are unfamiliar, this creates a site that acts much like Twitter.

If someone enter the hex value for a color (say #ff0000 for red), I would like for ROR to convert that to an HTML color box representation in the post that is created. Any ideas on how to accomplish this?

posted Jul 7, 2013 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button
Can you explain in a bit more detail what you want? I am not sure what you mean by converting #ff0000 to a colour box representation.

Similar Questions
+2 votes

How to convert utc time to a time in a particular time zone. As I need to display local time of Timezone(-05:00).

+2 votes

Need help from all of you guys on a question that can we develop a Kisok App using ROR.

If yes please share the details or possible link.

0 votes

I have 4 tables from the first table, I took all data from the two columns and displayed it in the view. For each data, I have two text fields and the user is supposed to fill those data. Having filled data into the text field, how can I insert all the records into the second table using one form only?

+2 votes

Is there any gems to interact or we need to use serial port?

+1 vote

I upload a image by giving only the url of the item, where the exact image should be stored in the storage(eg. AWS S3 bucket) for the future process.

Please give your suggestions/ideas to develop my thing.


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...